diff options
author | Richard Henderson <rth@redhat.com> | 2010-09-07 14:45:00 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2010-09-07 14:45:00 -0700 |
commit | 182a0c1121794e8785a8401f6e1409a62d5e9ebb (patch) | |
tree | 185802d57f69708ac977995d1880f6eaef07a375 /gcc/final.c | |
parent | fa9a71936a85479cba4a2138b7859f492fdae60c (diff) | |
download | gcc-182a0c1121794e8785a8401f6e1409a62d5e9ebb.zip gcc-182a0c1121794e8785a8401f6e1409a62d5e9ebb.tar.gz gcc-182a0c1121794e8785a8401f6e1409a62d5e9ebb.tar.bz2 |
Always do output_function_exception_table before assemble_end_function.
From-SVN: r163974
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/final.c b/gcc/final.c index 06ebc17..79cd85e 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -4240,19 +4240,13 @@ rest_of_handle_final (void) final (get_insns (), asm_out_file, optimize); final_end_function (); -#ifdef TARGET_UNWIND_INFO - /* ??? The IA-64 ".handlerdata" directive must be issued before - the ".endp" directive that closes the procedure descriptor. */ + /* The IA-64 ".handlerdata" directive must be issued before the ".endp" + directive that closes the procedure descriptor. Similarly, for x64 SEH. + Otherwise it's not strictly necessary, but it doesn't hurt either. */ output_function_exception_table (fnname); -#endif assemble_end_function (current_function_decl, fnname); -#ifndef TARGET_UNWIND_INFO - /* Otherwise, it feels unclean to switch sections in the middle. */ - output_function_exception_table (fnname); -#endif - user_defined_section_attribute = false; /* Free up reg info memory. */ |