[Bug c++/53150] [C++0x] g++ crashes if struct member initializer references to local variable
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 2 10:36:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53150
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-05-02
Summary|g++ crashes if struct |[C++0x] g++ crashes if
|member initializer |struct member initializer
|references to local |references to local
|variable |variable
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-02 10:36:12 UTC ---
Confirmed. Not sure if this is valid code, leaving as C++ for now. 4.6
rejects
it (no NSDMI).
More information about the Gcc-bugs
mailing list