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