type1 = cp_parser_type_id (parser);
+ if (type1 == error_mark_node)
+ return error_mark_node;
+
/* Build a trivial decl-specifier-seq. */
clear_decl_specs (&decl_specs);
decl_specs.type = type1;
type2 = cp_parser_type_id (parser);
+ if (type2 == error_mark_node)
+ return error_mark_node;
+
/* Build a trivial decl-specifier-seq. */
clear_decl_specs (&decl_specs);
decl_specs.type = type2;
cp_parser_require (parser, CPP_CLOSE_PAREN, "`)'");
- /* Complete the trait expr, which may mean either processing the
- static assert now or saving it for template instantiation. */
+ /* Complete the trait expression, which may mean either processing
+ the trait expr now or saving it for template instantiation. */
return finish_trait_expr (kind, type1, type2);
}
+2007-08-31 Paolo Carlini <pcarlini@suse.de>
+
+ PR c++/33212
+ * g++.dg/ext/is_class_error.C: New.
+
2007-08-31 Olivier Hainque <hainque@adacore.com>
* gnat.dg/test_oalign.adb, oalign[12].ads: New test.
2007-08-31 David Edelsohn <edelsohn@gnu.org>
Revital Eres <eres@il.ibm.com>
- * gcc.target/powerpc/paired-1.c: New test.
- * gcc.target/powerpc/paired-2.c: New test.
- * gcc.target/powerpc/paired-3.c: New test.
- * gcc.target/powerpc/paired-4.c: New test.
- * gcc.target/powerpc/paired-5.c: New test.
- * gcc.target/powerpc/paired-6.c: New test.
- * gcc.target/powerpc/paired-7.c: New test.
- * gcc.target/powerpc/ppc-paired.c: New test.
-
-2007-08-30 Ollie Wild <aaw@google.com>
-
- g++.dg/conversion/ptrmem2.C: New test.
- g++.dg/conversion/ptrmem3.C: New test.
- g++.dg/conversion/ptrmem4.C: New test.
- g++.dg/conversion/ptrmem5.C: New test.
- g++.dg/conversion/ptrmem6.C: New test.
- g++.dg/conversion/ptrmem7.C: New test.
- g++.dg/conversion/ptrmem8.C: New test.
+ * gcc.target/powerpc/paired-1.c: New test.
+ * gcc.target/powerpc/paired-2.c: New test.
+ * gcc.target/powerpc/paired-3.c: New test.
+ * gcc.target/powerpc/paired-4.c: New test.
+ * gcc.target/powerpc/paired-5.c: New test.
+ * gcc.target/powerpc/paired-6.c: New test.
+ * gcc.target/powerpc/paired-7.c: New test.
+ * gcc.target/powerpc/ppc-paired.c: New test.
+
+2007-08-31 Ollie Wild <aaw@google.com>
+
+ * g++.dg/conversion/ptrmem2.C: New test.
+ * g++.dg/conversion/ptrmem3.C: New test.
+ * g++.dg/conversion/ptrmem4.C: New test.
+ * g++.dg/conversion/ptrmem5.C: New test.
+ * g++.dg/conversion/ptrmem6.C: New test.
+ * g++.dg/conversion/ptrmem7.C: New test.
+ * g++.dg/conversion/ptrmem8.C: New test.
2007-08-31 Paul Thomas <pault@gcc.gnu.org>