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]

2.96 20000904 dies in case of errors


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


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