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


sh-2.02$ eg++ junk.C
junk.C: In function `int x()':
junk.C:10: Internal compiler error.
junk.C:10: Please submit a full bug report to `egcs-bugs@cygnus.com'.
sh-2.02$ eg++ --version
egcs-2.92.07
sh-2.02$ uname -rs
FreeBSD 2.2.7-19980913-SNAP
sh-2.02$ cat junk.C
#include <map.h>

class cls {
	map<int,int> a;
	friend x();
};

x() {
	cls cls;
	cls.map = 1;
}

main() {}
sh-2.02$ exit


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