[Bug middle-end/34386] New: -Wstrict-aliasing=3 ineffective (tree-ssa-alias-warnings.c)

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 8 00:21:00 GMT 2007


The new alias violation warning is ineffective for PR34385 for several reasons:

 - we TBAA prune the points-to sets, this deletes the information the warning
   is depending on

 - the warning is disabled for structure types

 - in C++, temporaries are 'artificial' and such no warnings are generated for
   accesses to them


-- 
           Summary: -Wstrict-aliasing=3 ineffective (tree-ssa-alias-
                    warnings.c)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list