dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure descriptor output.

* dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure
	descriptor output.

From-SVN: r48175
This commit is contained in:
Douglas B Rupp 2001-12-19 06:21:29 -05:00 committed by Richard Kenner
parent db1ae42802
commit b2c16b03be
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 19 06:12:34 2001 Douglas B. Rupp <rupp@gnat.com>
* dwarf2out.c (add_name_and_src_coords_attributes): Fix VMS procedure
descriptor output.
2001-12-18 Stan Shebs <shebs@apple.com>
* rs6000.h (LOCAL_ALIGNMENT): Fix parens.

View File

@ -9365,8 +9365,8 @@ add_name_and_src_coords_attributes (die, decl)
/* Get the function's name, as described by its RTL. This may be different
from the DECL_NAME name used in the source file. */
if (TREE_CODE (decl) == FUNCTION_DECL && TREE_ASM_WRITTEN (decl))
add_AT_string (die, DW_AT_VMS_rtnbeg_pd_address,
xstrdup (XSTR (XEXP (DECL_RTL (decl), 0), 0)));
add_AT_addr (die, DW_AT_VMS_rtnbeg_pd_address,
save_rtx (XEXP (DECL_RTL (decl), 0)));
#endif
}