On 09/29/2015 07:24 AM, Christian Bruel wrote:
This patch uses FUNCTION_BOUNDARY instead of DECL_ALIGN to check the max
align when optimizing for size in assemble_start_function.
This is necessary for ARM that can switch the max code alignment
directives between modes.

No regressions for ARM
Testing on-going for x86

Christian


align2.patch


2015-09-29  Christian Bruel<christian.br...@st.com>

        PR target/67745
        * gcc/varasm.c (assemble_start_function): Use current's function align.
Does this override alignment information that might be attached to the DECL? Does that, in effect, override any alignment information that the developer may have put on the decl? If so, then it seems like a bad idea, even with -Os.

Am I missing something here?

jeff

Reply via email to