This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix -fasynchronous-unwind-info
- From: Jan Hubicka <jh at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org, rth at cygnus dot com
- Date: Tue, 14 May 2002 12:35:07 +0200
- Subject: Fix -fasynchronous-unwind-info
Hi,
the attached patch makes us to output eh_frame always with -fasynchronous-unwind-info
Tue May 14 12:32:10 CEST 2002 Jan Hubicka <jh@suse.cz>
* dwarf2out.c (output_call_frame_info): Do not skip unwind info
when flag_asynchronous_unwind_tables is set.
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.356.2.9
diff -c -3 -p -r1.356.2.9 dwarf2out.c
*** dwarf2out.c 7 May 2002 17:27:30 -0000 1.356.2.9
--- dwarf2out.c 14 May 2002 10:32:04 -0000
*************** output_call_frame_info (for_eh)
*** 1943,1949 ****
fde = &fde_table[i];
/* Don't emit EH unwind info for leaf functions that don't need it. */
! if (for_eh && fde->nothrow && ! fde->uses_eh_lsda)
continue;
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, FDE_LABEL, for_eh + i * 2);
--- 1943,1950 ----
fde = &fde_table[i];
/* Don't emit EH unwind info for leaf functions that don't need it. */
! if (!flag_asynchronous_unwind_tables && for_eh && fde->nothrow
! && ! fde->uses_eh_lsda)
continue;
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, FDE_LABEL, for_eh + i * 2);