+2013-10-08 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/58665
+ Revert:
+ 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/58448
+ * pt.c (tsubst): Use error_operand_p on parameter t.
+
2013-10-06 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58126
enum tree_code code;
tree type, r = NULL_TREE;
- if (t == NULL_TREE
+ if (t == NULL_TREE || t == error_mark_node
|| t == integer_type_node
|| t == void_type_node
|| t == char_type_node
|| TREE_CODE (t) == TRANSLATION_UNIT_DECL)
return t;
- if (error_operand_p (t))
- return error_mark_node;
-
if (DECL_P (t))
return tsubst_decl (t, args, complain);
+2013-10-08 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/58665
+ Revert:
+ 2013-10-04 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/58448
+ * g++.dg/template/crash117.C: New.
+
2013-10-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.target/s390/htm-nofloat-2.c: Add -mzarch to asm options.
+++ /dev/null
-// PR c++/58448
-
-class SmallVector; struct Types4;
-template <typename, typename, typename, typename> struct Types {
- typedef Types4<>::Constructable // { dg-error "template|typedef|expected" }
-} Types<SmallVector, SmallVector, SmallVector, SmallVector>:: > // { dg-error "expected" }