re PR target/57949 ([powerpc64] Structure parameter alignment issue with vector exten...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 14 Aug 2013 20:38:33 +0000 (20:38 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 14 Aug 2013 20:38:33 +0000 (20:38 +0000)
commit6469da2cb2148e7d46f65f69fcf7bbb979859dee
tree5bb45cd306ebd5116d5828e9efdf0a82dc847b80
parent4ca890e22e169bdbb2399d0c6b7c98111164e86a
re PR target/57949 ([powerpc64] Structure parameter alignment issue with vector extensions)

gcc:

2013-08-14  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/57949
* doc/invoke.texi: Add documentation of mcompat-align-parm
option.
* config/rs6000/rs6000.opt: Add mcompat-align-parm option.
* config/rs6000/rs6000.c (rs6000_function_arg_boundary): For AIX
and Linux, correct BLKmode alignment when 128-bit alignment is
required and compatibility flag is not set.
(rs6000_gimplify_va_arg): For AIX and Linux, honor specified
alignment for zero-size arguments when compatibility flag is not
set.

gcc/testsuite:

2013-08-14  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/57949
* gcc.target/powerpc/pr57949-1.c: New.
* gcc.target/powerpc/pr57949-2.c: New.

From-SVN: r201750
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr57949-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr57949-2.c [new file with mode: 0644]