From: Mark Mitchell Date: Mon, 26 Apr 1999 16:02:57 +0000 (-0700) Subject: toplev.c (compile_file): Move call to check_global_declarations after output_exceptio... X-Git-Tag: prereleases/gcc-2.95-test~742 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3fce735239d604f578c2a3a51fdb172cec98db;p=thirdparty%2Fgcc.git toplev.c (compile_file): Move call to check_global_declarations after output_exception_table to restore... d * toplev.c (compile_file): Move call to check_global_declarations after output_exception_table to restore behavior as it was before 1999-04-22 change. From-SVN: r26657 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index 58fafc1db299..cc0453ceca67 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3284,7 +3284,6 @@ compile_file (name) vec[len - i - 1] = decl; wrapup_global_declarations (vec, len); - check_global_declarations (vec, len); /* This must occur after the loop to output deferred functions. Else the profiler initializer would not be emitted if all the functions @@ -3299,6 +3298,8 @@ compile_file (name) the exception table. */ output_exception_table (); + + check_global_declarations (vec, len); } /* Write out any pending weak symbol declarations. */