http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54441
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |4.6.3
Keywords| |diagnostic
Last reconfirmed| |2012-09-03
Ever Confirmed|0 |1
Summary|Infinite loop with brace |[4.7/4.8 Regression]
|initializer on zero-length |Infinite loop with brace
|array |initializer on zero-length
| |array
Target Milestone|--- |4.7.2
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-03
10:41:11 UTC ---
Confirmed. 4.6 rejects the testcase with
t.C: In function 'int main()':
t.C:5:22: error: expected primary-expression before '.' token
t.C:5:16: warning: unused variable 's' [-Wunused-variable]