This is the mail archive of the gcc-prs@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]

Re: c++/9798: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives


Old Synopsis: g++: Internal error: Segmentation fault (program cc1plus)
New Synopsis: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives

State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Sun Feb 23 16:17:14 2003
State-Changed-Why:
    Confirmed with 3.2.2, 3.3 and 3.4 trees. A reduced testcase is this:
    
    namespace std { }
    namespace STL { using namespace std; }
    namespace std {
      using namespace STL;
    }
    namespace STL {
      struct A {
        void B() { using namespace std; }
      };
    }
    
    The cc1plus binary either crashes with a segfault due to an infinite
    recursion in push_using_directive. This is a regression from 2.95.
    
       regards   Christian
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9798


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