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]

Crash on invalid code in 0320 snapshot



OS is:
Linux, Mandrake 6.1 i686 unknown



cd /home/jdonner/masvoc/cpOpClasses/
g++ -v --save-temps -c -pipe -Wall -W -g -I.. -o FlightLeg.o
FlightLeg.ii
.jdonner.cshrc has been sourced
g++: Warning: -pipe ignored since -save-temps specified
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/specs
gcc version 2.96 20000320 (experimental)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.96/cc1plus FlightLeg.ii
-quiet -g -Wall -W -version -fpreprocessed -o FlightLeg.s
GNU C++ version 2.96 20000320 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 2.96 20000320 (experimental).
FlightLeg.cpp:96: parse error before `const'
FlightLeg.cpp: In function `FlightLeg *CreateDummyFlightLeg (Aircraft
FlightLeg.cpp: *)':
FlightLeg.cpp:196: Internal compiler error in `expand_expr', at
FlightLeg.cpp:196: expr.c:5918
FlightLeg.cpp:196: Please submit a full bug report.
FlightLeg.cpp:196: See <URL:http://www.gnu.org/software/gcc/bugs.html>
FlightLeg.cpp:196: for instructions.

Compilation exited abnormally with code 1 at Sun Mar 26 16:28:20


This is provoked by the missing comma after 

    time_t out, time_t off, time_t on, time_t in

in the second FlightLeg constructor.

FlightLeg.ii.bz2


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