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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note -Wstrict-aliasing=1 actually does warn:
<source>: In function 'e':
<source>:13:29: warning: dereferencing type-punned pointer might break
strict-aliasing rules [-Wstrict-aliasing]
   13 |       struct c *h = (struct c *)f;
      |                             ^

Reply via email to