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/70044] [5 Regression] -flto turns on -fomit-frame-pointer


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044

--- Comment #8 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Thu Apr 14 13:45:34 2016
New Revision: 234974

URL: https://gcc.gnu.org/viewcvs?rev=234974&root=gcc&view=rev
Log:
[AArch64] Backport of PR target/70044 fix to GCC 5

2016-04-14  Nick Clifton  <nickc@redhat.com>
            Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

        PR target/70044
        * config/aarch64/aarch64.c
        (aarch64_override_options_after_change): When forcing
        flag_omit_frame_pointer to be true, use a special value that can
        be detected if this function is called again, thus preventing
        flag_omit_leaf_frame_pointer from being forced to be false.

        * gcc.target/aarch64/pr70044.c: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/aarch64/pr70044.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/aarch64/aarch64.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

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