This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81702] [7/8 Regression] ICE in gimple_get_virt_method_for_vtable


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]