OSDN Git Service

* dump.c (dequeue_and_dump): Dump TARGET_EXPRs.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Aug 1999 18:06:25 +0000 (18:06 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Aug 1999 18:06:25 +0000 (18:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28867 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/dump.c

index 8739537..ad8e872 100644 (file)
@@ -1,3 +1,7 @@
+1999-08-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * dump.c (dequeue_and_dump): Dump TARGET_EXPRs.
+
 1999-08-25  Nathan Sidwell  <nathan@acm.org>
 
        * decl2.c (handle_class_head): Be graceful about additional
index 4ef27e1..abffb39 100644 (file)
@@ -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;