This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Aug 2017 00:24:01 +0000
- Subject: [Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable
- Auto-submitted: auto-generated
- References: <bug-81702-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81702
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #4)
> The ICE is about vtable:
> which is constructed without any DECL_INITIAL. Is this intended? If so, we
> could just remove the assert and silently ignore it, but I see no point in
> having vtable attached without actually knowning the contents.
Hmm, I'm not sure either why we need to have a VAR_DECL before we get to
initialize_vtable. Nathan, I think this was your code?