This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36611] New: false negatives with -Wstrict-aliasing=3
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2008 02:47:10 -0000
- Subject: [Bug middle-end/36611] New: false negatives with -Wstrict-aliasing=3
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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