Mail Archives: djgpp/1995/04/21/20:39:12
/*
When compiled, cc1plus crashes, cc1 does not
*/
void f1(char *s) { };
int f2(char *s, int n) { };
int main() {
int result;
result = (f1("string"), f2("string", 1));
}
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.6.3/cc1plus /usr/tmp/cca07567.ii -quiet -dumpbase test.cc -version -o /usr/tmp/cca07567.s
GNU C++ version 2.6.3 (sparc) compiled by GNU C version 2.6.3.
test.cc: In function `int main()':
test.cc:10: Internal compiler error.
test.cc:10: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.
DaveN
- Raw text -