This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
2.96 20000904 dies in case of errors
- To: gcc-bugs at gcc dot gnu dot org
- Subject: 2.96 20000904 dies in case of errors
- From: jarausch at igpm dot rwth-aachen dot de
- Date: Fri, 08 Sep 2000 10:11:01 +0200
- Reply-to: jarausch at igpm dot rwth-aachen dot de
Hi,
I've observed the recent gcc dies with internal errors
or even segment faults when it encounters specific
syntax errors.
A tiny example (but no segment fault here) is
int main() {
int i= 1;
if ( i== 1 ) i++
else i+=3;
}
gives
T.C: In function `int main ()':
T.C:4: parse error before `else'
T.C:5: Internal error #122.
T.C:5: Internal compiler error in finish_function, at cp/decl.c:14436
Please submit a full bug report.
This is on IRIX6.5 .
Thanks for looking into it,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany