Define ATTRIBUTE_ALIGNED_VALUE to 32 for IA MCU
commit80bf41f2ed3e766aa39b6b2b65fe149562f75b1f
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jul 2015 09:28:19 +0000 (9 09:28 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jul 2015 09:28:19 +0000 (9 09:28 +0000)
tree13e970f8d142f754c4289c95ef87468637d777ed
parent849a880fe04d24a9a6f6f8b06e99260d8a68e894
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225606 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr66818.c [new file with mode: 0644]