re PR c++/59347 (ICE on invalid: tree check: expected class 'type', have 'exceptional...
authorJason Merrill <jason@redhat.com>
Fri, 21 Feb 2014 21:43:29 +0000 (16:43 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 21 Feb 2014 21:43:29 +0000 (16:43 -0500)
commit71b735a54005a9b4bd41df990673a6310c332d58
treeed86b4cc1ed95fd673db40fa49e928964cd5124e
parent2671a8ef23b605b623897d1f3e73a5493ed847e2
re PR c++/59347 (ICE on invalid: tree check: expected class 'type', have 'exceptional' (error_mark) in tsubst_decl, at cp/pt.c:10798)

PR c++/59347
* pt.c (tsubst_decl) [TYPE_DECL]: Don't try to instantiate an
erroneous typedef.

From-SVN: r208025
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/typedef41.C [new file with mode: 0644]