summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 18:12:54 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 18:12:54 +0000
commit634b7df03b1f75ab17a64fcea640ff1915ece080 (patch)
tree187e90ea880d88157f9c24c0a1081dd53bfa131c /gcc/dbxout.c
parent32a2ab94e45309dc91c2e4595558239fda71c154 (diff)
downloadgcc-634b7df03b1f75ab17a64fcea640ff1915ece080.tar.gz
* stmt.c (current_nesting_level): New fn.
* tree.h: Declare it. * c-semantics.c (genrtl_compound_stmt): Use it. * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 6648727f0c1..ee51faecde0 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1816,7 +1816,7 @@ dbxout_symbol (decl, local)
case RESULT_DECL:
/* Named return value, treat like a VAR_DECL. */
case VAR_DECL:
- if (DECL_RTL (decl) == 0)
+ if (! DECL_RTL_SET_P (decl))
return 0;
/* Don't mention a variable that is external.
Let the file that defines it describe it. */