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++/13359] New: ICE (segfault) on (illegaly) defining an undeclared member class of a class template


struct Base {}; 
 
template<typename Mesh> // <-- w/o this it gives a proper error msg 
struct Outer { 
// forgot to declare Inner here... 
}; 
 
template<typename Mesh> // vvvvvvvvvvv w/o this it gives a proper error msg 
struct Outer<Mesh>::Inner: public Base { // internal compiler error: Segmentation fault 
//                  ^^^^^ accidentally undeclared 
}; 
--- snip --- 
Without inheriting Base -- proper error message 
Without Outer being a template -- proper error message

-- 
           Summary: ICE (segfault) on (illegaly) defining an undeclared
                    member class of a class template
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: meinlschmidt at informatik dot uni-erlangen dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: What the...? Linux, i686


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


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