[Bug tree-optimization/45957] New: [4.6 Regression] g++.dg/ext/fnname3.C FAILs with -flto/-fwhopr
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Sat Oct 9 21:59:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45957
Summary: [4.6 Regression] g++.dg/ext/fnname3.C FAILs with
-flto/-fwhopr
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 22010
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22010
reduced testcase
Output:
$ g++ pr45957.C
$ ./a.out && echo OK
OK
$ g++ pr45957.C -flto
$ ./a.out && echo OK
Tested revisions:
r165220 - fail
r165152 - OK
It seems __func__ evaluates to empty string in both cases (constructor and
destructor).
More information about the Gcc-bugs
mailing list