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++/52094] ICE on definition of nested class in wrong namespace scope with wrong nested-name-qualifier


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52094

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-02-02
            Summary|internal compiler error:    |ICE on definition of nested
                   |Segmentation fault (program |class in wrong namespace
                   |cc1plus)                    |scope with wrong
                   |                            |nested-name-qualifier
     Ever Confirmed|0                           |1
      Known to fail|                            |4.4.3, 4.5.2, 4.6.2, 4.7.0

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-02 10:23:24 UTC ---
Reduced:

namespace N { struct A { struct Inner; }; }
namespace NN { struct AA : N::A {}; struct AA::Inner {}; }


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