[Bug lto/59468] [4.9 Regression] ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 16 13:29:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59468
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
We do very basic ODR check in ipa-devirt, perhaps we can extend it to handle
this case, too.
But as a fallback we should probably also stop ICEing when things progress to
actual fold (I saw ICEs like this before but they all tracked down to bugs in
devirtualization logic, this is first one that really come from misformed
source code).
More information about the Gcc-bugs
mailing list