PR c++/52841
* parser.c (cp_parser_alias_declaration): Return earlier
if an error occured.
* g++.dg/cpp0x/pr52841.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188264
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-06-06 Fabien ChĂȘne <fabien@gcc.gnu.org>
+
+ PR c++/52841
+ * parser.c (cp_parser_alias_declaration): Return earlier
+ if an error occured.
+
2012-06-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53524
cp_parser_require (parser, CPP_EQ, RT_EQ);
+ if (cp_parser_error_occurred (parser))
+ return error_mark_node;
+
/* Now we are going to parse the type-id of the declaration. */
/*
+2012-06-06 Fabien ChĂȘne <fabien@gcc.gnu.org>
+
+ PR c++/52841
+ * g++.dg/cpp0x/pr52841.C: New testcase.
+
2012-06-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/53081
--- /dev/null
+// { dg-do compile }
+
+struct Solvable;
+namespace sat
+{
+ class Solvable
+ {
+ public:
+ typedef bool bool_type;
+ };
+}
+
+class Resolvable : public sat::Solvable
+{
+public:
+ using sat::Solvable::bool_type;
+};