This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16564] g++ goes into an infinite loop after errors
- 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: 18 Oct 2004 10:36:05 -0000
- Subject: [Bug c++/16564] g++ goes into an infinite loop after errors
- References: <20040715110539.16564.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-18 10:36 -------
> That's likely the smallest possible testcase:
No, it isn't ;-)
===============================
template<typename> struct A
{
A<A> a;
};
A<int> a;
===============================
This example is even worse, since the compiler goes into an infinite loop
without issuing an error first.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16564