[Bug target/99492] double and double _Complex not aligned consistently on AIX
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 10 23:51:47 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99492
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Edelsohn <dje@gcc.gnu.org>:
https://gcc.gnu.org/g:4fa6356be14414957be05bdf5e22037fe1bea283
commit r11-7615-g4fa6356be14414957be05bdf5e22037fe1bea283
Author: David Edelsohn <dje.gcc@gmail.com>
Date: Tue Mar 9 17:52:36 2021 -0500
aix: align double complex
AIX word-aligns floating point doubles. This behavior also extends to
double _Complex, which had been overlooked when compiler support for
double _Complex was added.
This patch adds DCmode to the modes whose alignment is adjusted and
adds a testcase to confirm the correct alignment.
gcc/ChangeLog:
2021-03-10 David Edelsohn <dje.gcc@gmail.com>
PR target/99492
* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Add check for DCmode.
* config/rs6000/rs6000.c (rs6000_special_round_type_align): Same.
gcc/testsuite/ChangeLog:
2021-03-10 David Edelsohn <dje.gcc@gmail.com>
PR target/99492
* gcc.target/powerpc/pr99492.c: New testcase.
More information about the Gcc-bugs
mailing list