public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9798: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives
@ 2003-02-23 16:17 ehrhardt
0 siblings, 0 replies; only message in thread
From: ehrhardt @ 2003-02-23 16:17 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, michael, nobody
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-23 16:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-23 16:17 c++/9798: [<3.2,3.3,3.4> regression] Ininite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives ehrhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).