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++/16564] g++ goes into an infinite loop after errors


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


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