[Bug c++/16564] g++ goes into an infinite loop after errors
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 18 10:36:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list