------- Comment #2 from reichelt at gcc dot gnu dot org  2007-02-09 22:52 
-------
You don't even need templates to enter the infinite loop:

========================
struct B;

struct A
{
  A(A&);
  A(B);
};

struct B
{
  B(A);
};

A foo();

A a(foo());
========================

This is problem is similar to PR5247.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28475

Reply via email to