+2002-03-11 Richard Henderson <rth@redhat.com>
+
+ * toplev.c (rest_of_compilation): Don't compile if we've had errors.
+
2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
* Makefile.in: Update.
-doc:
- * cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
+ * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
Update documentation.
- * gcc.texi: Include cppopts.texi and cppenv.texi.
- * cpp.texi: Include cppopts.texi and cppenv.texi.
+ * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
+ * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
2002-03-11 Zack Weinberg <zack@codesourcery.com>
+2002-03-11 Richard Henderson <rth@redhat.com>
+
+ * g++.old-deja/g++.brendan/crash52.C: Remove return warning marker.
+ * g++.old-deja/g++.jason/report.C: Likewise.
+
2002-03-11 Nathan Sidwell <nathan@codesourcery.com>
* testsuite/g++.old-deja/g++.other/friend9.C: Revert DR 209 changes.
A &f(A &a) {// ERROR - new decl.*
std::cout << "Blah\n";
-} // ERROR - non-void function
-
+}
bar2 wa [5];
wa[0] = baz(f);
undef2 (1); // ERROR - implicit declaration
-} // ERROR - non-void
+}
int ninny ()
{
int darg (char X::*p)
{
undef3 (1); // ERROR - implicit declaration
-} // ERROR - non-void
+}
purge_hard_subreg_sets (get_insns ());
emit_initial_value_sets ();
- /* Don't return yet if -Wreturn-type; we need to do cleanup_cfg. */
- if ((rtl_dump_and_exit || flag_syntax_only) && !warn_return_type)
+ /* Early return if there were errors. We can run afoul of our
+ consistency checks, and there's not really much point in fixing them.
+ Don't return yet if -Wreturn-type; we need to do cleanup_cfg. */
+ if (((rtl_dump_and_exit || flag_syntax_only) && !warn_return_type)
+ || errorcount || sorrycount)
goto exit_rest_of_compilation;
/* We may have potential sibling or tail recursion sites. Select one