[Bug c++/67650] undef reference with -fdevirtualize

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 3 11:53:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650

--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Vincent from comment #5)
> The problem is static time, not dynamic time.
> This artefact is just a result of source code reduction. In  my code there
> is no "0", and the problem exists.

Are you sure about that? Using your original testcase I can only reproduce the
link error when it has ((T*)0)->ax()


More information about the Gcc-bugs mailing list