This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13349] [3.3 regression] Infinite memory usage for invalid code
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2003 02:55:37 -0000
- Subject: [Bug c++/13349] [3.3 regression] Infinite memory usage for invalid code
- References: <20031208024504.13349.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2003-12-08 02:55 -------
Subject: Re: New: [3.3 regression] Infinite memory usage for invalid code
"reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| The following invalid code snippet triggers an infinite loop in gcc 3.3.x:
|
| ======================================
| namespace A {}
| namespace B { using namespace A; }
| namespace A { using namespace B; }
|
| A::X x;
| ======================================
|
| Previous versions and mainline issue a correct error message.
Hmm, I thought the patch was also applied to branch; I'll have to
find it and back-port it. I think, it was fixed by Jason.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13349