[Bug tree-optimization/59622] [4.9 Regression] internal compiler error: verify_gimple failed

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 30 10:53:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59622

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BTW, I wonder if we shouldn't issue a warning on this testcase, if the vtable
(and virtual method) are in anonymous namespace and aren't defined in the
current CU, they can't be defined anywhere else and thus it is a user error not
to define them (or the class shouldn't be used where the vtable is needed).
At -O0 on the testcase we end up with _ZTVN12_GLOBAL__N_11AE undefined symbol
(that, again, can't be defined anywhere else), so that is at least link time
error, but at -O2 we don't get that.



More information about the Gcc-bugs mailing list