Mail Archives: djgpp/1995/04/21/09:13:56
> Anyway, here's the troublemaker. Save as "test.cc" and try to compile
> with "gcc -c test.cc", for example.
>
> ==================== BEGIN TEST.CC ===============
> /*
> 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));
> }
> ==================== END TEST.CC ===============
/usr/local/lib/gcc-lib/mips-sgi-irix5.2/2.6.3/cc1plus /var/tmp/cca000pm.ii -quiet -dumpbase test.cc -version -o /var/tmp/cca000pm.s
GNU C++ version 2.6.3 [AL 1.1, MM 40] SGI running IRIX 5.0 compiled by GNU C version 2.6.3.
test.cc: In function `int main()':
test.cc:9: Internal compiler error.
test.cc:9: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.
- Raw text -