Define ATTRIBUTE_ALIGNED_VALUE to 32 for IA MCU
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 9 Jul 2015 09:28:19 +0000 (09:28 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 9 Jul 2015 09:28:19 +0000 (02:28 -0700)
commite9c9e772e22cd76f57154167b6cda9113323cf31
tree13e970f8d142f754c4289c95ef87468637d777ed
parent661c8707bf0629bb1b69efa14dfc3d8e89e61706
Define ATTRIBUTE_ALIGNED_VALUE to 32 for IA MCU

attribute ((aligned)) should align to the minimum of BIGGEST_ALIGNMENT,
which is 4 bytes for -miamcu.

gcc/

PR target/66818
* config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Defined to 32
for IA MCU.

gcc/testsuite/

PR target/66818
* gcc.target/i386/pr66818.c: New test.

From-SVN: r225606
gcc/ChangeLog
gcc/config/i386/i386.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr66818.c [new file with mode: 0644]