[Bug c++/124182] gcc-16 optimization regression with -fdevirtualize-speculatively

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 20 14:21:43 GMT 2026


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think if you declare DerivedB you have to provide an implementation somewhere
in the program and that would reference 'marker'.  So I'm not sure this can be
considered a bug?


More information about the Gcc-bugs mailing list