From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 5D8D43858C54 for ; Wed, 7 Jun 2023 19:35:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5D8D43858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f61530506aso78287505e9.1 for ; Wed, 07 Jun 2023 12:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1686166521; x=1688758521; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1dbzvEJIlNIXEM95RYuG74KTPXkt1z9r9xazqc5/ebw=; b=F24y5rU8cqnV/wlzHG2QOQdqnYGe22KAn0JtKoKgdWZNVcMZmWYJbK6wBlqMysIh10 buy9bJA9deYK4xwwwHbObH0IeJqt20CtNlVRKLKqpN/L3k5Our/IqvoGpAUyp42uVZcD HP5nKbvXmqCjN5LMClVFO8yF3m0bfgemGy0lNyPAKqGo6BG78mz+ocUCqwAtxmlI8wPu Y0gYNvZjraAJSqeBKT4mDgI+oh0VvTzOHaDlWRjchECi4K+bDaWld5j6qsFCJ4Xz5CxB RqlaIUxbHFb4Bmd5VVifqrz+wBj/7Da7s4/1XjraQiieKr++CwvzNSDucXDnMGFa2/iI 6otw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686166521; x=1688758521; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1dbzvEJIlNIXEM95RYuG74KTPXkt1z9r9xazqc5/ebw=; b=V4gFhiNjuDnwkE4XVKn4z7bf6oetH3Z6jMwQ2XzABsZyUTB3YxcpOSTs6Wey119V2H lJpBHXvEefZQPUv5ualIq2k4JZTgVT7+wUt5fLYGmY4fdFNmF2XtMwnEKtWfTcTI1zcd XVote85pEqLdd9NZLoR56vMUbl9K3rI35U/CVpNPh43/W1+4+PD3fudY9tqTPrrjCG/h PYWHcxl14esWFf6ggAchlYdaEhji18VfbTpRTNfY5bJ5GyNWUuv+Xo/DmfPiARmtq0oo ZR6RfkeKm37oikSW4KPAJRDGaAFXBsfmbb0r0lVS1nkeJcWM14svHwyGCAzZUWBE7Xlz vsdQ== X-Gm-Message-State: AC+VfDxsmXvtodpdI4fA8OyuRbBdYt3h2H12YZN9LM+M1srF9aw65hmC in5X8FwOdMvV6HAwfS0K1GQ+Ug== X-Google-Smtp-Source: ACHHUZ55McJV5/VnP0d81nNj4cQOBMo3q7N9+GwNRCmwVk84uxofqUdU/FR1bTeFYudSrN/zvVK9bw== X-Received: by 2002:a7b:cd10:0:b0:3f7:e65f:7adf with SMTP id f16-20020a7bcd10000000b003f7e65f7adfmr6669012wmj.14.1686166521113; Wed, 07 Jun 2023 12:35:21 -0700 (PDT) Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp.gmail.com with ESMTPSA id k14-20020a7bc30e000000b003f4266965fbsm3149581wmj.5.2023.06.07.12.35.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 12:35:20 -0700 (PDT) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: Ian Lance Taylor Cc: Helmut Zeisel , gcc@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: When do I need -fnon-call-exceptions? Date: Wed, 07 Jun 2023 21:35:20 +0200 Message-ID: <1899746.taCxCBeP46@fomalhaut> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > On x864 Linux -fasynchronous-unwind-tables is the default. That is > probably sufficient to make your test case work. The testcase g++.dg/torture/except-1.C you recently added to the testsuite does not pass at all if -fnon-call-exceptions is not specified (and does not pass with optimization if -fno-delete-dead-exceptions is not specified). -- Eric Botcazou