This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9798: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives
- From: ehrhardt at mathematik dot uni-ulm dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, michael at waxrat dot com, nobody at gcc dot gnu dot org
- Date: 23 Feb 2003 16:17:14 -0000
- Subject: Re: c++/9798: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives
- Reply-to: ehrhardt at mathematik dot uni-ulm dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, michael at waxrat dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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