[Bug fortran/23420] ICE on invalid print statement
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 9 15:20:00 GMT 2005
------- Additional Comments From tobi at gcc dot gnu dot org 2005-09-09 15:20 -------
Backtrace:
(gdb) run pr23420.f90
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/pcl331/schluter/src/gcc/build/gcc/f951 pr23420.f90
Program received signal SIGSEGV, Segmentation fault.
0x0806dfb8 in match_io (k=M_PRINT) at ../../gcc/fortran/io.c:2144
2144 if ((gfc_match_name (name) == MATCH_YES)
(gdb) bt
#0 0x0806dfb8 in match_io (k=M_PRINT) at ../../gcc/fortran/io.c:2144
#1 0x0806e1be in gfc_match_print () at ../../gcc/fortran/io.c:2342
#2 0x0807b23a in match_word (str=Variable "str" is not available.
) at ../../gcc/fortran/parse.c:65
#3 0x0807b4b9 in decode_statement () at ../../gcc/fortran/parse.c:251
#4 0x0807bd85 in next_statement () at ../../gcc/fortran/parse.c:356
#5 0x0807c895 in parse_spec (st=ST_NONE) at ../../gcc/fortran/parse.c:1530
#6 0x0807d6f9 in parse_progunit (st=ST_ARITHMETIC_IF)
at ../../gcc/fortran/parse.c:2295
#7 0x0807d9e4 in gfc_parse_file () at ../../gcc/fortran/parse.c:2581
#8 0x08097455 in gfc_be_parse_file (set_yydebug=0)
at ../../gcc/fortran/f95-lang.c:256
#9 0x0836b89a in toplev_main (argc=2, argv=0xbffff9d4)
at ../../gcc/toplev.c:971
#10 0x40065db6 in __libc_start_main () from /lib/libc.so.6
#11 0x0804ab91 in _start ()
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23420
More information about the Gcc-bugs
mailing list