re PR c++/9054 (segfault on legal code with option -fdump-translation-unit)
authorNathan Sidwell <nathan@gcc.gnu.org>
Mon, 30 Dec 2002 12:46:13 +0000 (12:46 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 30 Dec 2002 12:46:13 +0000 (12:46 +0000)
commit5a5cccaa4e00fd06fd8e8bf4e9f731dbda799dd3
treeeda1a7b14bc3ca30755dbcbff392ba3ee7f3c334
parent8b5d67e116b5698d541e351859d12e8f0bf03345
re PR c++/9054 (segfault on legal code with option -fdump-translation-unit)

PR c++/9054
* class.c (layout_class_type): Set DECL_CONTEXT of type for base.
* dump.c (cp_dump_tree, RECORD_TYPE): Deal with type for base types.

From-SVN: r60627
gcc/cp/class.c
gcc/cp/dump.c