From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1285) id 3B1323858C52; Sat, 29 Oct 2022 12:12:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B1323858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667045576; bh=BAxXODBViz8eaEFh5kon3y8sz6VsI9rORXMXGRmqJsY=; h=From:To:Subject:Date:From; b=eBVWBXavKLas6qJTXRACe23+yjVpkjpmLYfgLoVEb+ZSdJ7/R/9dPFyDy+OV4VAAs JeaXVmUKDeCvoUi6Y/xxM2Y3NcEAeFgkLfj3PVj5Q1LsSZfxIAPOtuKmt2j1QJeYVY Bk1CiTesxup6CQs/TS2UPQpDOteboKowSsPoin6A= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Eric Botcazou To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3562] Repair --disable-sjlj-exceptions X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/master X-Git-Oldrev: 96ba0c369ee86d61b6df2f8fb8364028a113acf7 X-Git-Newrev: 7f067400109efa816d68d13bae1a3d20297ad51b Message-Id: <20221029121256.3B1323858C52@sourceware.org> Date: Sat, 29 Oct 2022 12:12:56 +0000 (GMT) List-Id: https://gcc.gnu.org/g:7f067400109efa816d68d13bae1a3d20297ad51b commit r13-3562-g7f067400109efa816d68d13bae1a3d20297ad51b Author: Eric Botcazou Date: Sat Oct 29 14:12:04 2022 +0200 Repair --disable-sjlj-exceptions It was broken by: 2022-08-31 Martin Liska 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. gcc/ * configure.ac (sjlj-exceptions): Restore dropped line. * configure: Regenerate. Diff: --- gcc/configure | 8 +++++--- gcc/configure.ac | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/configure b/gcc/configure index 89e00b79ae2..0ee4be40e55 100755 --- a/gcc/configure +++ b/gcc/configure @@ -12684,7 +12684,9 @@ objext='.o' # With Setjmp/Longjmp based exception handling. # Check whether --enable-sjlj-exceptions was given. if test "${enable_sjlj_exceptions+set}" = set; then : - enableval=$enable_sjlj_exceptions; case $target in + enableval=$enable_sjlj_exceptions; force_sjlj_exceptions=yes +else + case $target in lm32*-*-*) force_sjlj_exceptions=yes enableval=yes @@ -19718,7 +19720,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 19721 "configure" +#line 19723 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -19824,7 +19826,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 19827 "configure" +#line 19829 "configure" #include "confdefs.h" #if HAVE_DLFCN_H 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