tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS...
authorDiego Novillo <dnovillo@redhat.com>
Fri, 9 May 2003 15:37:08 +0000 (15:37 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 9 May 2003 15:37:08 +0000 (11:37 -0400)
* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
instead of TREE_OPERAND to access the operand of a
CONSTRUCTOR node.

From-SVN: r66635

gcc/ChangeLog
gcc/tree-dump.c

index 9e309ca465401e03883d9ed1400ef3962844e7c0..0cdb2916b670d0a5a39d7b07c58843a96f90107e 100644 (file)
@@ -1,3 +1,9 @@
+2003-05-09  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
+       instead of TREE_OPERAND to access the operand of a
+       CONSTRUCTOR node.
+
 2003-05-09  Diego Novillo  <dnovillo@redhat.com>
 
        * tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
index b48f60b189bcf65da1f1fd9bdbd2a45d862b0adc..b171abdabe5b46ac92577597e866bf68ccb9a92e 100644 (file)
@@ -569,7 +569,7 @@ dequeue_and_dump (di)
       break;
 
     case CONSTRUCTOR:
-      dump_child ("elts", TREE_OPERAND (t, 0));
+      dump_child ("elts", CONSTRUCTOR_ELTS (t));
       break;
 
     case BIND_EXPR: