mirror of git://gcc.gnu.org/git/gcc.git
re PR debug/53704 (ICE: in based_loc_descr, at dwarf2out.c:10027 after revision 188621)
PR debug/53704 * dwarf2out.c (gen_compile_unit_die): Use DW_LANG_Fortran90 as language for GNU Fortran if in strict DWARF2 mode. From-SVN: r188874
This commit is contained in:
parent
a300e4591c
commit
c43470b1f6
|
|
@ -1,3 +1,9 @@
|
|||
2012-06-22 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR debug/53704
|
||||
* dwarf2out.c (gen_compile_unit_die): Use DW_LANG_Fortran90 as language
|
||||
for GNU Fortran if in strict DWARF2 mode.
|
||||
|
||||
2012-06-22 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* tree-ssa-live.c (remove_unused_scope_block_p): Remove again
|
||||
|
|
|
|||
|
|
@ -18220,6 +18220,9 @@ gen_compile_unit_die (const char *filename)
|
|||
language = DW_LANG_Go;
|
||||
}
|
||||
}
|
||||
/* Use a degraded Fortran setting in strict DWARF2 so is_fortran works. */
|
||||
else if (strcmp (language_string, "GNU Fortran") == 0)
|
||||
language = DW_LANG_Fortran90;
|
||||
|
||||
add_AT_unsigned (die, DW_AT_language, language);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue