[Bug c++/28475] Internal error: Segmentation fault (program cc1plus)
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 9 22:52:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list