diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2000-09-04 10:28:11 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-09-04 10:28:11 +0000 |
commit | 1bc0793e55808609cb199adba76f2de4a7cac4d5 (patch) | |
tree | 1c850d410d8e16a6d213ffff1fd090454b22b582 /gcc/cp/tree.c | |
parent | 258451c86bf3c6ac4cd0b79254232ebe22a24fc3 (diff) | |
download | gcc-1bc0793e55808609cb199adba76f2de4a7cac4d5.zip gcc-1bc0793e55808609cb199adba76f2de4a7cac4d5.tar.gz gcc-1bc0793e55808609cb199adba76f2de4a7cac4d5.tar.bz2 |
pt.c (lookup_template_class): Remove abort.
* pt.c (lookup_template_class): Remove abort.
* tree.c (get_type_decl): Allow error_mark_node.
From-SVN: r36134
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 009cb0e..371f00f 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -1846,6 +1846,8 @@ get_type_decl (t) return t; if (TYPE_P (t)) return TYPE_STUB_DECL (t); + if (t == error_mark_node) + return t; my_friendly_abort (42); |