aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2021-03-09 17:52:36 -0500
committerDavid Edelsohn <dje.gcc@gmail.com>2021-03-10 18:52:50 -0500
commit4fa6356be14414957be05bdf5e22037fe1bea283 (patch)
tree9633995df16c876eedf1b570016ed91be3698d56 /gcc/cp
parent8c21bc6646dbe3365d7f89843a79eee823aa3b52 (diff)
downloadgcc-4fa6356be14414957be05bdf5e22037fe1bea283.zip
gcc-4fa6356be14414957be05bdf5e22037fe1bea283.tar.gz
gcc-4fa6356be14414957be05bdf5e22037fe1bea283.tar.bz2
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.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions