https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91794
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |EH, lto
CC| |ebotcazou at gcc dot gnu.org
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Eric - was the intent of the PR81351 fix that the dwarf2out_do_eh_frame ()
works per function?
We could also fix this similar to how we do lto_init_eh which forces
the global flag_exceptions to 1, force flag_unwind_tables to 1 in
case any function had it enabled (that's still finer-grained than
enabling it for all LTRANS units via lto-wrapper). Similar on targets
where EH unwind is the default disabling it via -fno-unwind-tables would
have no effect with LTO even if all functions have it disabled.