[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 chrbr at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #7 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Oct 16 13:52:51 2015 New Revision: 228912 URL: https://gcc.gnu.org/viewcvs?rev=228912&root=gcc&view=rev Log: 2015-10-16 Christian Bruel PR target/67745 *

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-16 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #6 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Fri Oct 16 13:37:14 2015 New Revision: 228904 URL: https://gcc.gnu.org/viewcvs?rev=228904&root=gcc&view=rev Log: 2015-10-16 Christian Bruel PR target/67745 *

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-15 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #5 from Ramana Radhakrishnan --- *** Bug 67880 has been marked as a duplicate of this bug. ***

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-10-10 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-29 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 chrbr at gcc dot gnu.org changed: What|Removed |Added Target||arm Target Milestone|---

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-28 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #3 from chrbr at gcc dot gnu.org --- another example that gives suboptimal alignment: void __attribute__ ((optimize("Os"))) foo() { } compiled with -O2 -mthumb is aligned on 2^2 instead of 2^1. -Os should remove padding here.

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-28 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67745 --- Comment #2 from chrbr at gcc dot gnu.org --- and test check optimize_function_for_speed_p (cfun)) in assemble_start_function put an unnecessary constraint on align_functions (either from -falign-functions or __attribute__). We should be able t

[Bug target/67745] [ARM] wrong alignments when __attribute__ ((optimize,target,align) is used

2015-09-28 Thread chrbr at gcc dot gnu.org
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 - FUN