aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-04-26 09:02:57 -0700
committerPer Bothner <bothner@gcc.gnu.org>1999-04-26 09:02:57 -0700
commit6c3fce735239d604f578c2a3a51fdb172cec98db (patch)
treedee986e77dc2c562eca875119bbb1e6f64bb0761 /gcc
parente196267d0ae3e5cfabb4a3e99a49745d3f3b2b18 (diff)
downloadgcc-6c3fce735239d604f578c2a3a51fdb172cec98db.zip
gcc-6c3fce735239d604f578c2a3a51fdb172cec98db.tar.gz
gcc-6c3fce735239d604f578c2a3a51fdb172cec98db.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 58fafc1..cc0453c 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. */