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

vincent.lextrait at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu May 3 12:37:00 GMT 2018


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

--- Comment #22 from Vincent <vincent.lextrait at gmail dot com> ---
See comment #6.

(In reply to Jonathan Wakely from comment #20)
> (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