[Bug fortran/23420] ICE on invalid print statement
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 9 16:01:00 GMT 2005
------- Additional Comments From tobi at gcc dot gnu dot org 2005-09-09 16:01 -------
The new segfault's here:
(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
MAIN__
Program received signal SIGSEGV, Segmentation fault.
0x080b56a7 in set_string (block=0xbfffda24, postblock=0xbfffda1c, var=Variable
"var" is not available.
)
at ../../gcc/fortran/trans-io.c:456
456 if (e->ts.type == BT_INTEGER && e->symtree->n.sym->attr.assign == 1)
(gdb) bt
#0 0x080b56a7 in set_string (block=0xbfffda24, postblock=0xbfffda1c,
var=Variable "var" is not available.
)
at ../../gcc/fortran/trans-io.c:456
#1 0x080b6343 in build_dt (function=0x85d6078, code=0x868d2f0)
at ../../gcc/fortran/trans-io.c:1170
#2 0x080987da in gfc_trans_code (code=0x868d2f0)
at ../../gcc/fortran/trans.c:593
#3 0x080a82ae in gfc_generate_function_code (ns=0x868cd08)
at ../../gcc/fortran/trans-decl.c:2415
#4 0x08097e54 in gfc_generate_code (ns=0x868cd08)
at ../../gcc/fortran/trans.c:683
#5 0x0807df21 in gfc_parse_file () at ../../gcc/fortran/parse.c:2642
#6 0x08097815 in gfc_be_parse_file (set_yydebug=0)
at ../../gcc/fortran/f95-lang.c:256
#7 0x0836c275 in toplev_main (argc=2, argv=0xbfffdc44)
at ../../gcc/toplev.c:990
#8 0x40065db6 in __libc_start_main () from /lib/libc.so.6
#9 0x0804ab91 in _start ()
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23420
More information about the Gcc-bugs
mailing list