From 91088ddb810837c123b010796ec85bed37a5f78b Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 8 Jun 2001 14:12:54 -0400 Subject: stmt.c (current_nesting_level): New fn. * 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. From-SVN: r43037 --- gcc/dbxout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/dbxout.c') diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 6648727..ee51fae 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. */ -- cgit v1.1