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]

internal compiler error (ambigous type conversion)


Please check this out.

Martin

pgcc-2.90.29 980515 (egcs-1.0.3 release)

err.cc: In function `int main()':
err.cc:17: Internal compiler error.
err.cc:17: Please submit a full bug report to `egcs-bugs@cygnus.com'.

class a;
class b {
public:
	operator a();
};

class a {
public:
	a(b);
};

b foo(void);

main()
{
	a y = foo();
}




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