This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29116] New: Failure to diagnose violation of constraint 6.7.5.2p2
- From: "neil at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2006 15:06:41 -0000
- Subject: [Bug c/29116] New: Failure to diagnose violation of constraint 6.7.5.2p2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
int n = 0, p[n * 0 + 1];
For C90 and C99, as of June SVN at least, and going back at least as far as
3.3.3.
Almost certainly because of overly early CF.
--
Summary: Failure to diagnose violation of constraint 6.7.5.2p2
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: neil at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29116