re PR debug/40040 (gfortran invalid DW_AT_location for overridable variables)
PR debug/40040 * dwarf2out.c (add_name_and_src_coords_attributes): Add DW_AT_{,MIPS_}linkage_name even for Fortran decls. From-SVN: r158612
This commit is contained in:
parent
6cf3abb170
commit
71a810c300
|
@ -1,3 +1,9 @@
|
|||
2010-04-21 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR debug/40040
|
||||
* dwarf2out.c (add_name_and_src_coords_attributes): Add
|
||||
DW_AT_{,MIPS_}linkage_name even for Fortran decls.
|
||||
|
||||
2010-04-21 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-prop.c (ipa_edge_removal_hook): Check for bounds.
|
||||
|
|
|
@ -16808,8 +16808,7 @@ add_name_and_src_coords_attributes (dw_die_ref die, tree decl)
|
|||
if ((TREE_CODE (decl) == FUNCTION_DECL || TREE_CODE (decl) == VAR_DECL)
|
||||
&& TREE_PUBLIC (decl)
|
||||
&& !DECL_ABSTRACT (decl)
|
||||
&& !(TREE_CODE (decl) == VAR_DECL && DECL_REGISTER (decl))
|
||||
&& !is_fortran ())
|
||||
&& !(TREE_CODE (decl) == VAR_DECL && DECL_REGISTER (decl)))
|
||||
{
|
||||
/* Defer until we have an assembler name set. */
|
||||
if (!DECL_ASSEMBLER_NAME_SET_P (decl))
|
||||
|
|
Loading…
Reference in New Issue