[Bug target/70044] [5 Regression] -flto turns on -fomit-frame-pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #9 from ktkachov at gcc dot gnu.org --- Fixed.
[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=gcc=rev Log: [AArch64] Backport of PR target/70044 fix to GCC 5 2016-04-14 Nick CliftonKyrylo Tkachov 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
[Bug target/70044] [5 Regression] -flto turns on -fomit-frame-pointer
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 --- Author: nickc Date: Thu Mar 10 17:24:16 2016 New Revision: 234118 URL: https://gcc.gnu.org/viewcvs?rev=234118=gcc=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