https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90089
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|c++ |tree-optimization
Severity|normal |enhancement
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I thought I saw a similar bug filed before but I can't seem to find it.
Also in theory, pointer deferencing could have a side effect iff the pointer is
invalid.