This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used
- From: "chrbr at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Sep 2015 12:43:31 +0000
- Subject: [Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used
- Auto-submitted: auto-generated
- References: <bug-67745-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745
--- Comment #1 from chrbr at gcc dot gnu.org ---
the problems are three folds:
- FUNCTION_BOUNDARY should not test optimize_size, that should be tested in
override_options_internal instead to be carried by
invoke_set_current_function_hook
- FUNCTION_BOUNDARY depends on TARGET_THUMB that depends on the attribute
target. So it should be reevaluated at each function change, thus
TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE