https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52100

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |libgcc
   Last reconfirmed|2012-02-03 00:00:00         |2021-8-1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
ChangeLog:      -fno-asynchronous-unwind-tables.
ChangeLog:      * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
config/i386/t-crtstuff:# crtend*.o cannot be compiled without
-fno-asynchronous-unwind-tables,
config/i386/t-crtstuff:# section.  -fno-asynchronous-unwind-tables is off by
default for i386
config/i386/t-crtstuff:CRTSTUFF_T_CFLAGS += -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables
config/rs6000/t-crtstuff:CRTSTUFF_T_CFLAGS = -msdata=none -O2
-fno-asynchronous-unwind-tables
config/s390/t-crtstuff:# crtend*.o cannot be compiled without
-fno-asynchronous-unwind-tables,
config/s390/t-crtstuff:CRTSTUFF_T_CFLAGS += -fno-asynchronous-unwind-tables
config/s390/t-crtstuff:CRTSTUFF_T_CFLAGS_S += -fno-asynchronous-unwind-tables
config/tilegx/t-crtstuff:# crtend*.o cannot be compiled without
-fno-asynchronous-unwind-tables,
config/tilegx/t-crtstuff:CRTSTUFF_T_CFLAGS += -fno-asynchronous-unwind-tables
config/tilegx/t-crtstuff:CRTSTUFF_T_CFLAGS_S += -fno-asynchronous-unwind-tables
config/tilepro/t-crtstuff:# crtend*.o cannot be compiled without
-fno-asynchronous-unwind-tables,
config/tilepro/t-crtstuff:CRTSTUFF_T_CFLAGS += -fno-asynchronous-unwind-tables
configure:      if { ac_try='${CC-cc} -Werror -g
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -S
conftest.c -o conftest.s 1>&5'
configure.ac:   if AC_TRY_COMMAND(${CC-cc} -Werror -g
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -S
conftest.c -o conftest.s 1>&AS_MESSAGE_LOG_FD); then

Only one target adds -fasynchronous-unwind-tables in one place:
config/riscv/t-elf:LIB2_DIVMOD_EXCEPTION_FLAGS := -fasynchronous-unwind-tables


I do think we should have -fno-asynchronous-unwind-tables by default for
crtstuff (and -fno-unwind-tables).

Reply via email to