http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53091
Bug #: 53091
Summary: Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 -
works fine in clang
Classification: Unclassified
Product: gcc
Version: 4.7.0
URL: http://m8y.org/tmp/gcc_bug.c
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Works in Clang 2.9 and Clang 3.0
Succeeds in g++ FWIW.
$ gcc gcc_bug.c
gcc_bug.c:5: error: initializer element is not constant
