This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/66468] [6 Regression] ICE in in check_die, at dwarf2out.c:5719
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Jun 2015 08:49:04 +0000
- Subject: [Bug debug/66468] [6 Regression] ICE in in check_die, at dwarf2out.c:5719
- Auto-submitted: auto-generated
- References: <bug-66468-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66468
--- Comment #3 from Martin LiÅka <marxin at gcc dot gnu.org> ---
(In reply to Markus Trippelsdorf from comment #2)
> 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
> }
> ^
You are right. However, I guess we should not ICE?
Martin