This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52749] New: Aliasing violation silently accepted
- From: "veiokej at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 05:33:31 +0000
- Subject: [Bug c/52749] New: Aliasing violation silently accepted
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52749
Bug #: 52749
Summary: Aliasing violation silently accepted
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: veiokej@gmail.com
It was pointed out that this bug report was invalid because the code violates C
aliasing rules:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52705
Fair enough. But when I compile exactly as indicated in that bug report, I get
neither an error nor a warning. The existence of the keyword "accepts-invalid"
at http://gcc.gnu.org/bugzilla/describekeywords.cgi suggests that this is
considered a bug.