This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53150] [C++0x] g++ crashes if struct member initializer references to local variable


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]