This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/36611] New: false negatives with -Wstrict-aliasing=3


See PR36593. In one of the comments, I mention that the testcase in that PR
(which was originally marked as a miscompilation) had warnings for
-Wstrict-aliasing=1 and 2, but not 3.  According to the documentation for
-Wstrict-aliasing, level 3 ought to have *less* false negatives than 1 and 2,
even more important when "bad code" was actually generated.  Hence this
enhanceement PR.
It could even be stretched to be seen as a regression: the warnings no longer
match the generated code.


-- 
           Summary: false negatives with -Wstrict-aliasing=3
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
GCC target triplet: cris-axis-elf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]