From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by sourceware.org (Postfix) with ESMTPS id EF7973858C52; Tue, 17 Oct 2023 17:02:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EF7973858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EF7973858C52 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.227.15.18 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697562175; cv=none; b=hW85gZIbH7HCtEU9GAIZkhDZxS1tG+KbRp0Go9BOC+QhwLvLYjqOWby+sI66UkgU9UkTrfr2jWwwgTGIL8XTryLvMuWVR7zd3oCFsx2OGIgT860Xd6RpdCjRkb3bXaw3UaUiOrNRP5fmwuAouhfTKCZxMaFDmPFkEmBwELwPdDQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697562175; c=relaxed/simple; bh=tHb3beGf2V4a39V4lvGoelnpoMu0yxQkDNMK5YZiWXc=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=I+/lONLDi0XLt3dXnqA1v7Fj0hKno1mQmraJERd2FNsYyusQW/q1yLqxT5f1cEqddpcmfSEW8BgYNt5Jc4+zWwFVaejwAx3e7N4SY4sYhBNKYdzyXIHAXc/mBcafV7SHsXzvyY01d3A48E2wsMU+Dbkt8SqHbw/qcSlX5yvPEY8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697562169; x=1698166969; i=anlauf@gmx.de; bh=tHb3beGf2V4a39V4lvGoelnpoMu0yxQkDNMK5YZiWXc=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=fcDqzbwKAnCfbPDWqSIFno+GodpcuakXaaUcAqcxTzQ+JzFbpRoipNBrWmrXRsDG TJLRNQDymq/o65n65Kc1BNPkUngDRKZfmchrJKQO793iIKgpneSV2eRWmufctLcA4 vYFyU6/WdGrCVxfAK31iLGtF92MxyGM33Q3lCN/22Jro/AQicDoXNk6J7cgmQqJ8H pn9iirnWIuNj6VtMgVzkaBEJOMwWbYLyfOvOubRBK7AEZLPZAllJ75X1KjoakpqyR w6WFK0WqDmgGE/MNr3G/Wm9tKAd1cCvdvK/ZVloGFTtmaMFIX8GCFPuym/OrKQ5xJ j6sRevPKmyGKHOSMoA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.29] ([93.207.95.46]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MwwZd-1rlQJe0WQF-00yOgw; Tue, 17 Oct 2023 19:02:49 +0200 Message-ID: <4b56e2ca-0af1-4747-a90a-0eac16c1b82e@gmx.de> Date: Tue, 17 Oct 2023 19:02:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [patch] fortran/intrinsic.texi: Improve SIGNAL intrinsic entry To: Tobias Burnus , gcc-patches , fortran Newsgroups: gmane.comp.gcc.patches,gmane.comp.gcc.fortran References: <3f2d2471-dd94-4eb1-86b2-ae7ed439028b@gmx.de> <33a8ad77-3ef6-47e2-a6ad-6b480d21c141@codesourcery.com> Content-Language: en-US From: Harald Anlauf In-Reply-To: <33a8ad77-3ef6-47e2-a6ad-6b480d21c141@codesourcery.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:t8Pcl4b0RWRifdrHxoRP0EHMLYPHkgHwMF4fOxP+nCW8zAIftJB 0exXo/05JeW12NwEMG/81vzY3Ws5xrpvs4oStH8nFFSiezJhM8mJNl3QGCJNEs24AaW7vGI MRMuoznucbJcsVARom81c5Bfj4NMyUr3cIzxe5xEvaO/bjRa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OKUdthZiq+nAtzGIvP/ZE= X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP 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: Tobias, your latest patch - which you already pushed - removes the intrinsic declaration of signal. This can lead to a user's confusion and undesired results when the code is compiled e.g. with -std=3Df2018, because call signal (10, 1) ! 10 =3D SIGUSR1 and 1 =3D SIG_IGN (on some system= s) could be mapped to the wrong external instead of the libgfortran function _gfortran_signal_sub_int etc., or you could get other compile-time errors with the example code. I strongly recommend to restore the intrinsic declaration. Cheers, Harald Am 17.10.23 um 09:47 schrieb Tobias Burnus: > Hi Harald, > > On 16.10.23 20:31, Harald Anlauf wrote: >> Hi Tobias, >> >> Am 16.10.23 um 19:11 schrieb Tobias Burnus: >>> OK for mainline? >> >> I think the patch qualifies as obvious. >> >> While at it, you might consider removing the comment a few lines below >> the place you are changing, >> >> @c TODO: What should the interface of the handler be?=C2=A0 Does it tak= e >> arguments? >> >> and enhance the given example by e.g.: > > Updated version attached =E2=80=93 I will commit it later today, unless = anyone > has follow-up suggestions before. > > Thanks for the suggestions, > > Tobias > ----------------- > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe = 201, > 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: > Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaft: M=C3=BCnchen; > Registergericht M=C3=BCnchen, HRB 106955