re PR target/67745 ([ARM] wrong alignments when __attribute__ ((optimize,target,align...
authorChristian Bruel <christian.bruel@st.com>
Fri, 16 Oct 2015 13:37:14 +0000 (15:37 +0200)
committerChristian Bruel <chrbr@gcc.gnu.org>
Fri, 16 Oct 2015 13:37:14 +0000 (15:37 +0200)
commitf66a9a76137456a12b3720add7b9b2c3bbcfff3f
treee49fc7000143d5cca7ec5d9fd4d426118d5709c5
parent2346b8064304115b851646532e1738d4afdc89b8
re PR target/67745 ([ARM] wrong alignments when __attribute__ ((optimize,target,align) is used)

2015-10-16  Christian Bruel  <christian.bruel@st.com>

PR target/67745
* config/arm/arm.h (FUNCTION_BOUNDARY): Move optimize_size condition to:
* config/arm/arm.c (arm_option_override_internal): Call
arm_override_options_after_change_1.
(arm_override_options_after_change): New function.
(arm_override_options_after_change_1): Likewise.
(TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): Define hook.

From-SVN: r228904
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/attr-align1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/attr-align2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/attr-align3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/no-align.c [new file with mode: 0644]