This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2455
- To: gcc-gnats at gcc dot gnu dot org, Andreas dot Krakowczyk at fujitsu-siemens dot com, Erwin dot Unruh at fujitsu-siemens dot com, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Subject: Re: c++/2455
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Date: Thu, 19 Jul 2001 02:01:35 +0200
Hi,
the problem can be boiled down to the four lines
namespace A {};
namespace B { using namespace A; }
namespace A { using namespace B; }
void f() { using namespace B; }
that still crash g++ 3.0. It's on an IRIX 6.5 box in my case,
so the problem doesn't seem to be target specific.
The compiler is probably running into an infinite loop (guessing from
the compile time - in addition the memory usage goes way up before I get
the ICE).
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2455&database=gcc