|
From: Carl E. L. <ce...@us...> - 2015-04-16 18:31:53
|
Florian:
I have investigated the message from the gcc 4.9 compiler that you brought to my attention. The
message is:
test_dfp4.c: In function ‘_test_dtstdgq’:
test_dfp4.c:249:13: note: the ABI of passing aggregates with 16-byte alignment will change in a future GCC release
static void _test_dtstdgq(int BF, int DGM, dfp_val_t val1, dfp_val_t x1 __attribute__((unused)))
I have talked with the IBM compiler team. The warning went into the gcc 4.9 compiler for the PPC64
platform. There will be an ABI change made in the gcc 5.0 with regards to the alignment of 128-bit
arguments to a function. As I understand it, this will only be an issue for code when linking code
that was compiled with different gcc versions. If some of the code was compiled with a pre gcc 5.0
compiler and it is linked with functions with 128-bit arguments that were compiled with a gcc 5.0
or newer compiler,there will be a problem of the arguments not aligning properly.
In my case, all of the code is in the same regression test file. So, as far as the Valgrind regression
tests go this is not an issue.
There is nothing that can be done at the source code level to eliminate the notice from the compiler.
Carl Love
|