------- Comment #3 from kargl at gcc dot gnu dot org 2009-08-19 23:00 ------- Here's the backtrace
#0 gfc_conv_string_tmp (se=0x7fffffffdd70, type=0x201afec00, len=0x201af8d20) at ../../gcc4x/gcc/fortran/trans-expr.c:1107 #1 0x000000000050c0be in gfc_conv_intrinsic_adjust (se=0x7fffffffdd70, expr=0x20191e780, fndecl=0x201ae6e00) at ../../gcc4x/gcc/fortran/trans-intrinsic.c:4189 #2 0x000000000050e901 in gfc_conv_intrinsic_function (se=0x7fffffffdd70, expr=0x20191e780) at ../../gcc4x/gcc/fortran/trans-intrinsic.c:5111 #3 0x00000000004f47fd in gfc_conv_function_expr (se=0x7fffffffdd70, expr=0x20191e780) at ../../gcc4x/gcc/fortran/trans-expr.c:3516 #4 0x00000000004f6115 in gfc_conv_expr (se=0x7fffffffdd70, expr=0x20191e780) at ../../gcc4x/gcc/fortran/trans-expr.c:4040 #5 0x00000000004f8946 in gfc_trans_assignment_1 (expr1=0x20191e6c0, expr2=0x20191e780, init_flag=0 '\0') at ../../gcc4x/gcc/fortran/trans-expr.c:4866 #6 0x00000000004f8f78 in gfc_trans_assignment (expr1=0x20191e6c0, expr2=0x20191e780, init_flag=0 '\0') at ../../gcc4x/gcc/fortran/trans-expr.c:5039 #7 0x00000000004f8fe6 in gfc_trans_assign (code=0x20191e900) at ../../gcc4x/gcc/fortran/trans-expr.c:5051 #8 0x00000000004c2082 in gfc_trans_code (code=0x20191e900) at ../../gcc4x/gcc/fortran/trans.c:1089 #9 0x00000000004ea899 in gfc_generate_function_code (ns=0x2019a6c00) at ../../gcc4x/gcc/fortran/trans-decl.c:4323 #10 0x00000000004c2558 in gfc_generate_code (ns=0x2019a6c00) at ../../gcc4x/gcc/fortran/trans.c:1302 #11 0x0000000000476245 in gfc_parse_file () at ../../gcc4x/gcc/fortran/parse.c:4021 #12 0x00000000004b2045 in gfc_be_parse_file (set_yydebug=0) at ../../gcc4x/gcc/fortran/f95-lang.c:241 #13 0x000000000092ebc4 in compile_file () at ../../gcc4x/gcc/toplev.c:1026 #14 0x0000000000930e2e in do_compile () at ../../gcc4x/gcc/toplev.c:2351 #15 0x0000000000930ee4 in toplev_main (argc=2, argv=0x7fffffffe2b8) at ../../gcc4x/gcc/toplev.c:2393 #16 0x0000000000530d8b in main (argc=2, argv=0x7fffffffe2b8) at ../../gcc4x/gcc/main.c:35 The ICE is occurring in the assert below 1101 tree 1102 gfc_conv_string_tmp (gfc_se * se, tree type, tree len) - 1103 { 1104 tree var; 1105 tree tmp; 1106 1107 gcc_assert (TREE_TYPE (len) == gfc_charlen_type_node); 1108 so len appears to have an invalid type. -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-08-19 23:00:26 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41126