* dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
From-SVN: r40544
This commit is contained in:
parent
b16e8f08b4
commit
110c3568a2
3 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-03-15 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
|
||||
|
||||
2001-03-15 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): New.
|
||||
|
|
|
@ -7983,7 +7983,7 @@ rtl_for_decl_location (decl)
|
|||
gets fixed). */
|
||||
|
||||
/* Use DECL_RTL as the "location" unless we find something better. */
|
||||
rtl = DECL_RTL (decl);
|
||||
rtl = DECL_RTL_IF_SET (decl);
|
||||
|
||||
if (TREE_CODE (decl) == PARM_DECL)
|
||||
{
|
||||
|
|
11
gcc/testsuite/g++.old-deja/g++.other/debug7.C
Normal file
11
gcc/testsuite/g++.old-deja/g++.other/debug7.C
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Build don't run:
|
||||
// Origin: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
|
||||
// Special g++ Options: -g -O2
|
||||
|
||||
namespace std {
|
||||
const int __stl_chunk_size = 7;
|
||||
};
|
||||
|
||||
int main ()
|
||||
{
|
||||
}
|
Loading…
Add table
Reference in a new issue