[Bug c++/122962] UBSAN false positive calling non virtual member with virtual base during construction

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 2 17:04:41 GMT 2025


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=67519
         Resolution|---                         |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes this is undefined. See PR 67519 requesting a warning explictly for this.


More information about the Gcc-bugs mailing list