From: Mark Mitchell Date: Wed, 25 Aug 1999 18:06:25 +0000 (+0000) Subject: * dump.c (dequeue_and_dump): Dump TARGET_EXPRs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37f26d6499f0553e8b9e925c4d724490a24d7ff3;p=gcc.git * dump.c (dequeue_and_dump): Dump TARGET_EXPRs. From-SVN: r28867 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 87395379d78..ad8e8722b38 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-08-25 Mark Mitchell + + * dump.c (dequeue_and_dump): Dump TARGET_EXPRs. + 1999-08-25 Nathan Sidwell * decl2.c (handle_class_head): Be graceful about additional diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index 4ef27e1d696..abffb39ab6d 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -828,6 +828,20 @@ dequeue_and_dump (di) dump_child ("stmt", STMT_EXPR_STMT (t)); break; + case TARGET_EXPR: + if (dump_children_p) + { + dump_child ("decl", TREE_OPERAND (t, 0)); + dump_child ("init", TREE_OPERAND (t, 1)); + dump_child ("clnp", TREE_OPERAND (t, 2)); + /* There really are two possible places the initializer can + be. After RTL expansion, the second operand is moved to + the position of the fourth operand, and the second + operand becomes NULL. */ + dump_child ("init", TREE_OPERAND (t, 3)); + } + break; + default: /* There are no additional fields to print. */ break;