https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057
--- Comment #21 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, I think that's valid, so shouldn't be devirtualized.
redi at gcc dot gnu.org via Gcc-bugs Fri, 19 Jul 2024 10:13:35 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057
--- Comment #21 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, I think that's valid, so shouldn't be devirtualized.