https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
Summary|[5/6 Regression] -flto |[5 Regression] -flto turns
|turns on |on -fomit-frame-pointer
|-fomit-frame-pointer |
Known to fail|6.0 |
--- Comment #7 from ktkachov at gcc dot gnu.org ---
Thanks, for the record it's:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7044
--- Comment #2 from Nick Clifton <nickc at gcc dot gnu.org> ---
Author: nickc
Date: Thu Mar 10 17:24:16 2016
New Revision: 234118
URL: https://gcc.gnu.org/viewcvs?rev=234118&root=gcc&view=rev
Log:
PR target/7044
* config/aarch64/aarch64.c
(aarch64_override_options_after_change_1): 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:
trunk/gcc/testsuite/gcc.target/aarch64/pr70044.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64.c
trunk/gcc/testsuite/ChangeLog
This issue still occurs on GCC 5 though, so I think we want to keep this opened
for the backport