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

--- Comment #10 from David B. Robins <gcc at davidrobins dot net> ---
My apologies, I saw the example you pointed at was from torture/ but
missed/forgot that you had also wanted the new test there. I moved the file to
torture and removed -O2 -fno-inline and I didn't get the failure. I did get it
when I added back only -fno-inline, which at least no longer depends on a
specific optimization level:

FAIL: g++.dg/torture/pr71571.C   -O2  execution test
FAIL: g++.dg/torture/pr71571.C   -O3 -g  execution test
FAIL: g++.dg/torture/pr71571.C   -Os  execution test
FAIL: g++.dg/torture/pr71571.C   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: g++.dg/torture/pr71571.C   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test

I also confirmed that it passed in the new location with the "fix to be
committed" fix.

Reply via email to