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.