[ARM] PR/65956 AAPCS update for alignment attribute
authorAlan Lawrence <alan.lawrence@arm.com>
Mon, 6 Jul 2015 16:58:16 +0000 (16:58 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Mon, 6 Jul 2015 16:58:16 +0000 (16:58 +0000)
commit6a47847024dcca2bc071fecd241b5b8bd33c5f7a
tree9e43e671bd10a0fffa3b2a35bbef2def72907ff2
parenta0f4ee6ee5336997f2a3eeaca330d225ae82ace8
[ARM] PR/65956 AAPCS update for alignment attribute

gcc/:
PR target/65956
* config/arm/arm.c (arm_needs_doubleword_align): Drop any outer
alignment attribute, exploring one level down for records and arrays.

gcc/testsuite/:

* gcc.target/arm/aapcs/align1.c: New.
* gcc.target/arm/aapcs/align_rec1.c: New.
* gcc.target/arm/aapcs/align2.c: New.
* gcc.target/arm/aapcs/align_rec2.c: New.
* gcc.target/arm/aapcs/align3.c: New.
* gcc.target/arm/aapcs/align_rec3.c: New.
* gcc.target/arm/aapcs/align4.c: New.
* gcc.target/arm/aapcs/align_rec4.c: New.
* gcc.target/arm/aapcs/align_vararg1.c: New.
* gcc.target/arm/aapcs/align_vararg2.c: New.

From-SVN: r225465
13 files changed:
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/aapcs/align1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align_rec1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align_rec2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align_rec3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align_rec4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align_vaarg1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/aapcs/align_vaarg2.c [new file with mode: 0644]