[Bug c/39117] missed strict-aliasing warning

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 25 07:26:00 GMT 2018


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
strict-aliasing warnings are IMHO completely misguided.

Note that for the testcase accessing char[] storage is valid with all
types so it is correct to not warn about either case.

So I'd say "fixed" to this one... but fixed in another way than requested.


More information about the Gcc-bugs mailing list