This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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  <christian.bruel@st.com>

        PR target/67745
        * config/arm/arm.h (FUNCTION_BOUNDARY): Use FUNCTION_BOUNDARY_P.
        (FUNCTION_BOUNDARY_P): New macro:
        * config/arm/arm.c (TARGET_RELAYOUT_FUNCTION, arm_relayout_function): 
        New hook.
        * doc/tm.texi.in (TARGET_RELAYOUT_FUNCTION): Document.
        * doc/tm.texi (TARGET_RELAYOUT_FUNCTION): New hook.
        * gcc/target.def (TARGET_RELAYOUT_FUNCTION): Likewise.
        * gcc/function.c (allocate_struct_function): Call relayout_function
hook.
        * gcc/passes.c (rest_of_decl_compilation): Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/arm.h
    trunk/gcc/doc/tm.texi
    trunk/gcc/doc/tm.texi.in
    trunk/gcc/function.c
    trunk/gcc/passes.c
    trunk/gcc/target.def


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]