https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70764
Bug ID: 70764
Summary: PASS->FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto
-fno-use-linker-plugin -flto-partition=none
Product: gcc
Version: 5.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: ktkachov at gcc dot gnu.org
Target Milestone: ---
Target: aarch64-none-linux-gnu
After:
Author: nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Mar 10 17:24:16 2016 +0000
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.
The test:
gcc.dg/guality/pr41447-1.c -O2 -flto -fno-use-linker-plugin
-flto-partition=none
started to fail on aarch64-linux.
Note that this test was already failing for other optimisation levels before
that change:
FAIL: gcc.dg/guality/pr41447-1.c -O2 execution test
FAIL: gcc.dg/guality/pr41447-1.c -O3 -g execution test
FAIL: gcc.dg/guality/pr41447-1.c -Os execution test
That patch controlled the way -fomit-frame-pointer is turned on, which probably
affected debug info generation, so it is very likely that the patch just
triggered the same issue that caused the failure on the other optimisation
levels in this test.
Nick, do you have any experience with the guality tests to comment?