http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53704
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-06-20 08:41:58 UTC --- The failures are gone with the patch in comment #5 (why not DW_LANG_Fortran95?). However it looks more like papering over the problem rather than really fixing it: as said in comment #0, the ICE in is gone if I comment one of the "if (.not. equal ...", but comes back if after that, I duplicate the "call foo ...". In addition the test passes on powerpc-apple-darwin9.8.0, but yields several warnings (not seen for the original tests in gfortran.dg) warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4 warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4 warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4 warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4 warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4 warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4 warning: DWARFDebugInfoEntry::AppendDependants() -- check on this item TAG_subrange_type: attr = AT_upper_bound form = FORM_ref4