--- Comment #3 from rguenth at gcc dot gnu dot org 2008-01-22 15:16 ---
All testcases are accepted by 2.95.4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28475
--- 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
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-07-25 08:37 ---
Confirmed. Not a regression.
0x081bdda3 in lookup_fnfields_1 (type=0xb7d98000, name=0xb7cfebfc)
at /space/rguenther/src/svn/gcc-4_1-branch/gcc/cp/search.c:1406
1406 VEC_iterate (tree, method_vec, i, f