http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50752
Bug #: 50752 Summary: [4.7 Regression] ICE in match_kind_param Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: joost.vandevond...@pci.uzh.ch This one-liner leads to a segfault in 4.7: vondele@pcihopt3:/data03/vondele/bugs/ice> cat bug.f90 rPos=0.0_dp vondele@pcihopt3:/data03/vondele/bugs/ice> gfortran bug.f90 f951: internal compiler error: Segmentation fault 60 *is_iso_c = sym->attr.is_iso_c; (gdb) bt #0 0x000000000056db6f in match_kind_param (is_iso_c=0x7fffffffd51c) at ../../gcc/gcc/fortran/primary.c:60 #1 get_kind (is_iso_c=0x7fffffffd51c) at ../../gcc/gcc/fortran/primary.c:103 #2 0x000000000056de7b in match_real_constant (result=0x7fffffffd660, signflag=Unhandled dwarf expression opcode 0xf3 ) at ../../gcc/gcc/fortran/primary.c:625 #3 0x000000000056ed6c in gfc_match_literal_constant (result=0x7fffffffd660, signflag=0) at ../../gcc/gcc/fortran/primary.c:1367 #4 0x000000000055994e in match_primary (result=0x7fffffffd6c0) at ../../gcc/gcc/fortran/matchexp.c:149 #5 match_level_1 (result=0x7fffffffd6c0) at ../../gcc/gcc/fortran/matchexp.c:210 #6 match_mult_operand (result=0x7fffffffd6c0) at ../../gcc/gcc/fortran/matchexp.c:264 #7 0x0000000000559c3d in match_add_operand (result=0x7fffffffd718) at ../../gcc/gcc/fortran/matchexp.c:353 #8 0x0000000000559f65 in match_level_2 (result=0x7fffffffd760) at ../../gcc/gcc/fortran/matchexp.c:477 #9 0x000000000055a005 in match_level_3 (result=0x7fffffffd7c0) at ../../gcc/gcc/fortran/matchexp.c:548 #10 0x000000000055a13a in match_level_4 (result=0x7fffffffd810) at ../../gcc/gcc/fortran/matchexp.c:596