[Bug c/41673] [4.5 Regression] variable-length array dereference inside sizeof gives "warning: dereferencing type-punned pointer will break strict-aliasing rules"

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 11 10:44:00 GMT 2009



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
            Summary|4.5.0 20091008 variable-    |[4.5 Regression] variable-
                   |length array dereference    |length array dereference
                   |inside sizeof gives         |inside sizeof gives
                   |"warning: dereferencing     |"warning: dereferencing
                   |type-punned pointer will    |type-punned pointer will
                   |break strict-aliasing rules"|break strict-aliasing rules"
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41673



More information about the Gcc-bugs mailing list