Repair --disable-sjlj-exceptions

Message ID 21653628.EfDdHjke4D@fomalhaut
State Repeat Merge
Headers
Series Repair --disable-sjlj-exceptions |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Eric Botcazou Oct. 29, 2022, 12:14 p.m. UTC
  It was broken by:

2022-08-31  Martin Liska  <mliska@suse.cz>

	* config.build: Remove deprecated ports.
	* config.gcc: Likewise.
	* config.host: Likewise.
	* configure.ac: Likewise.
	* configure: Regenerate.
	* config/pa/pa-hpux10.h: Removed.
	* config/pa/pa-hpux10.opt: Removed.
	* config/pa/t-dce-thr: Removed.

Tested by building i686-w64-mingw32 with --disable-sjlj-exceptions, applied on 
the mainline as obvious.


2022-10-29  Eric Botcazou  <ebotcazou@adacore.com>

	* configure.ac (sjlj-exceptions): Restore dropped line.
	* configure: Regenerate.
  

Patch

diff --git a/gcc/configure.ac b/gcc/configure.ac
index eb92a37cd46..4ecccffc324 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1805,6 +1805,7 @@  AC_SUBST(objext)
 AC_ARG_ENABLE(sjlj-exceptions,
 [AS_HELP_STRING([--enable-sjlj-exceptions],
                 [arrange to use setjmp/longjmp exception handling])],
+[force_sjlj_exceptions=yes],
 [case $target in
   lm32*-*-*)
      force_sjlj_exceptions=yes