http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61122
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61122
--- Comment #2 from Frank Heckenbach f.heckenb...@fh-soft.de ---
If it's not allowed, it should also fail at file-scope or function-scope,
shouldn't it?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61122
--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org ---
No. At file or function scope the initializer is definitely used, and can
provide the array bound. On a non-static data member it is not used until the
object is constructed (and