This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13349] New: [3.3 regression] Infinite memory usage for invalid code
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2003 02:45:06 -0000
- Subject: [Bug c++/13349] New: [3.3 regression] Infinite memory usage for invalid code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.
This is a redux of the second bug in PR 11282.
--
Summary: [3.3 regression] Infinite memory usage for invalid code
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,ghost at cs dot msu dot
su
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13349