]> gcc.gnu.org Git - gcc.git/commitdiff
* dump.c (dequeue_and_dump): Dump TARGET_EXPRs.
authorMark Mitchell <mark@codesourcery.com>
Wed, 25 Aug 1999 18:06:25 +0000 (18:06 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 25 Aug 1999 18:06:25 +0000 (18:06 +0000)
From-SVN: r28867

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

index 87395379d78b227071ace477f354c11cdf152dc3..ad8e8722b38e3a7d8691304c4cca81cef0e0b10a 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 4ef27e1d69618fd26e37d21379e0b83311d998cb..abffb39ab6d2bf5a405fe7cb1e3dddc334585bee 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;
This page took 0.08298 seconds and 5 git commands to generate.