tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only one operand.
authorDiego Novillo <dnovillo@redhat.com>
Fri, 9 May 2003 13:27:19 +0000 (13:27 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 9 May 2003 13:27:19 +0000 (09:27 -0400)
* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
one operand.

From-SVN: r66630

gcc/ChangeLog
gcc/tree-dump.c

index 3fd5e67a12d8b4b45afd6a31590bf48d29809b50..9e309ca465401e03883d9ed1400ef3962844e7c0 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-09  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
+       one operand.
+
 2003-05-09  Gabriel Dos Reis <gdr@integrable-solutions.net>
 
        * toplev.h (warning_with_file_and_line): Don't declare.
index 4e360602b058da1bef263c76c29ea86465d26319..b48f60b189bcf65da1f1fd9bdbd2a45d862b0adc 100644 (file)
@@ -569,7 +569,7 @@ dequeue_and_dump (di)
       break;
 
     case CONSTRUCTOR:
-      dump_child ("elts", TREE_OPERAND (t, 1));
+      dump_child ("elts", TREE_OPERAND (t, 0));
       break;
 
     case BIND_EXPR: