[Bug debug/66468] [6 Regression] ICE in in check_die, at dwarf2out.c:5719
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 9 08:45:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66468
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
The testcase is invalid:
markus@x4 testc % g++ -r -nostdlib a.ii c.ii e.ii -g -O2 -flto
a.ii:21:8: warning: ‘Run’ violates the C++ One Definition Rule [-Wodr]
void Run (Point &) const;
^
e.ii:25:1: note: return value type mismatch
Optimizer::Run (Point &) const
^
e.ii:25:1: note: type ‘float’ should match type ‘void’
e.ii:25:1: note: ‘Run’ was previously declared here
e.ii: In member function ‘__base_dtor ’:
e.ii:28:1: internal compiler error: in check_die, at dwarf2out.c:5712
}
^
More information about the Gcc-bugs
mailing list