[Bug c++/116102] static_cast to derived& of base& does not cause a -fsanitize=vptr violation
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 26 18:03:39 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116102
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|static_cast to derived& of |static_cast to derived& of
|base& produced unused |base& does not cause a
|gimple ir and affected the |-fsanitize=vptr violation
|correctness of |
|-fsanitize=vptr |
Keywords| |wrong-code
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
More information about the Gcc-bugs
mailing list