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]
Other format: [Raw text]

Internal compiler error in finish_function gcc version 2.96


Command:

  gcc bug.cpp

Output (indented):

  bug.cpp: In function `int _ ()':
  bug.cpp:1: parse error before `0'
  bug.cpp:1: Internal error #122.
  bug.cpp:1: Internal compiler error in finish_function, at 
  ../gcc/cp/decl.c:14422
  Please submit a full bug report.
  See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Version:

  Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
  gcc version 2.96 20000731 (Red Hat Linux 7.0)

File bug.cpp (also attached):

  int _() {if 0 -> {};}

Yours,

  Mark Weyer

Attachment: bug.cpp
Description: Text document


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