This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53150] [C++0x] g++ crashes if struct member initializer references to local variable
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2012 10:36:12 +0000
- Subject: [Bug c++/53150] [C++0x] g++ crashes if struct member initializer references to local variable
- Auto-submitted: auto-generated
- References: <bug-53150-4@http.gcc.gnu.org/bugzilla/>
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).