This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bug report egcs
- To: egcs-bugs at cygnus dot com
- Subject: bug report egcs
- From: Veldema RS <rveldema at cs dot vu dot nl>
- Date: Wed, 17 Feb 99 14:46:56 MET
template <class func>
struct CB
{
operator func ();
};
int
x (CB<int (*) ()> f)
{
return f ();
}
/*
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.57/cc1plus t.ii -quiet -version -o /tmp/ccRTtPgL.s
GNU C++ version egcs-2.91.57 19980901 (egcs-1.1 release) (i586-pc-linux-gnu) compiled by GNU C v
ersion egcs-2.91.57 19980901 (egcs-1.1 release).
t.ii: In function `int x(struct CB<int (*)()>)':
t.ii:10: Internal compiler error.
t.ii:10: Please submit a full bug report to `egcs-bugs@cygnus.com'.
*/