summaryrefslogtreecommitdiff
path: root/gcc/tree-dump.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-09 13:27:19 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-09 13:27:19 +0000
commit96189dbf6edfda06e79f6132de417d7c030dbbee (patch)
treefe8d8fd358f9b83e20a59e4f4bfb427bdb5671cc /gcc/tree-dump.c
parentd5ac54ab82ea923a64b03b0a89905493e4d48656 (diff)
downloadgcc-96189dbf6edfda06e79f6132de417d7c030dbbee.tar.gz
* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
one operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66630 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r--gcc/tree-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c
index 4e360602b05..b48f60b189b 100644
--- a/gcc/tree-dump.c
+++ b/gcc/tree-dump.c
@@ -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: