https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120342
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is an aliasing violation.
You write to p via int and then again via the struct and then read it back via
int.
