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++/67650] undef reference with -fdevirtualize


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()

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