mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 22:50:16 +08:00
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
This commit is contained in:
parent
e196267d0a
commit
6c3fce7352
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user