* dump.c (dequeue_and_dump): Handle CTOR_STMTs.

From-SVN: r31073
This commit is contained in:
Mark Mitchell 1999-12-22 18:00:58 +00:00 committed by Mark Mitchell
parent f13734bb66
commit e55e18d639
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-12-22 Mark Mitchell <mark@codesourcery.com>
* dump.c (dequeue_and_dump): Handle CTOR_STMTs.
1999-12-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* error.c (dump_decl): Support named return values.

View File

@ -646,6 +646,15 @@ dequeue_and_dump (di)
dump_next_stmt (di, t);
break;
case CTOR_STMT:
dump_stmt (di, t);
if (CTOR_BEGIN_P (t))
dump_string (di, "begn");
else
dump_string (di, "end");
dump_next_stmt (di, t);
break;
case DECL_STMT:
dump_stmt (di, t);
dump_child ("decl", DECL_STMT_DECL (t));