dbxout.c (dbxout_symbol, [...]): Use DECL_CONTEXT, not DECL_FIELD_CONTEXT.

* dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use
        DECL_CONTEXT, not DECL_FIELD_CONTEXT.

From-SVN: r34776
This commit is contained in:
Raja R Harinath 2000-06-29 03:14:20 +00:00 committed by Jeff Law
parent 3be6ce4646
commit 69c89953f2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Wed Jun 28 21:09:33 2000 Raja R Harinath <harinath@cs.umn.edu>
* dbxout.c (dbxout_symbol, case RESULT_DECL, VAR_DECL): Use
DECL_CONTEXT, not DECL_FIELD_CONTEXT.
2000-06-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* flow.c (flow_depth_first_order_compute): Fix algorithm.

View File

@ -1941,8 +1941,8 @@ dbxout_symbol (decl, local)
&& DECL_INITIAL (decl) != 0
&& host_integerp (DECL_INITIAL (decl), 0)
&& ! TREE_ASM_WRITTEN (decl)
&& (DECL_FIELD_CONTEXT (decl) == NULL_TREE
|| TREE_CODE (DECL_FIELD_CONTEXT (decl)) == BLOCK))
&& (DECL_CONTEXT (decl) == NULL_TREE
|| TREE_CODE (DECL_CONTEXT (decl)) == BLOCK))
{
if (TREE_PUBLIC (decl) == 0)
{