This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70044] [5 Regression] -flto turns on -fomit-frame-pointer
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Apr 2016 13:46:06 +0000
- Subject: [Bug target/70044] [5 Regression] -flto turns on -fomit-frame-pointer
- Auto-submitted: auto-generated
- References: <bug-70044-4 at http dot gcc dot gnu dot org/bugzilla/>
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