------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-06-02 18:15 ------- Confirmed on i386-linux. Here is the GDB backtrace:
Program received signal SIGSEGV, Segmentation fault. 0x08057e09 in add_init_expr_to_sym (name=0xbffff430 "etype", initp=0xbffff42c, var_locus=0xbffff418) at ../../../gcc/gcc/fortran/decl.c:759 759 gfc_free_expr (init->ts.cl->length); (gdb) where #0 0x08057e09 in add_init_expr_to_sym (name=0xbffff430 "etype", initp=0xbffff42c, var_locus=0xbffff418) at ../../../gcc/gcc/fortran/decl.c:759 #1 0x0805851b in variable_decl () at ../../../gcc/gcc/fortran/decl.c:1069 #2 0x080599c3 in gfc_match_data_decl () at ../../../gcc/gcc/fortran/decl.c:1995 #3 0x0807d7b8 in match_word (str=0x0, subr=0x8059885 <gfc_match_data_decl>, old_locus=0xbffff4d8) at ../../../gcc/gcc/fortran/parse.c:65 #4 0x0807d90d in decode_statement () at ../../../gcc/gcc/fortran/parse.c:131 #5 0x0807e5ea in next_free () at ../../../gcc/gcc/fortran/parse.c:352 #6 0x0807e850 in next_statement () at ../../../gcc/gcc/fortran/parse.c:498 #7 0x080809ca in gfc_parse_file () at ../../../gcc/gcc/fortran/parse.c:2557 #8 0x08098d9c in gfc_be_parse_file (set_yydebug=0) at ../../../gcc/gcc/fortran/f95-lang.c:263 #9 0x0844f2a0 in compile_file () at ../../../gcc/gcc/toplev.c:1000 #10 0x08450838 in do_compile () at ../../../gcc/gcc/toplev.c:2123 #11 0x0845089f in toplev_main (argc=2, argv=0xbffff6a4) at ../../../gcc/gcc/toplev.c:2155 #12 0x080c9142 in main (argc=2, argv=0xbffff6a4) at ../../../gcc/gcc/main.c:35 -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 GCC build triplet|x86_64-unknown-linux-gnu | GCC host triplet|x86_64-unknown-linux-gnu | GCC target triplet|x86_64-unknown-linux-gnu | Last reconfirmed|0000-00-00 00:00:00 |2005-06-02 18:15:05 date| | Summary|Segmentation fault on 2D |2D array initialization with |array initialization with |reshape |reshape | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21825