This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13349] [3.3 regression] Infinite memory usage for invalid code


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]