From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 352E73858D32 for ; Wed, 27 Dec 2023 20:34:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 352E73858D32 Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none) header.from=gmx.de Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=gmx.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 352E73858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703709276; cv=none; b=x4CLUjiW2m6F0t5FpoyZDjGkwDJuMGsCMnrA+bRyy/Z6G+BDKRdPB4Yg471tINrsrzFvryKKz2qgMWHjUxjRvs+mgdmy/u4xJ80tP8hLxOK/Hbr9IEveakUX03stv4+qpn577/R6SMn2h6GCXAZiKLfIOD2EJVIOABmkU9eBDWU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703709276; c=relaxed/simple; bh=cbn2T+hyzDvZXMDIpVZtyfFGdQ/zUcWmz2eaNHfL61s=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=A2kJj2oM2rONFIB9ooZCE8qCVkzoH5+kmS1gxW62F/wSnJ201R/xR2kV4dA+QJhCcZTnVzH2h+Y0zBk14D2qjMl6Xt8XxFjMIAE3vNSdSldM6QAqBuXZxBVOvN1O/teKntTX8dfgF/Y+qMMVfdRStIkni8Z/3QbYqI6xfiMy6vs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIabn-0003Ao-W2 for gcc-patches@gnu.org; Wed, 27 Dec 2023 15:34:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1703709268; x=1704314068; i=anlauf@gmx.de; bh=cbn2T+hyzDvZXMDIpVZtyfFGdQ/zUcWmz2eaNHfL61s=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=kJwtOgjMqa3nI9gNkaekA6r7noPHRrQkOOy17ne5dGBfUnBlLeMyd4BTchRYCTL9 GySRALF1N3gV7ML8dF0j8oy7Hjq1fcS91PybtMcR3esfYdW0SbhH8GqAnEb5IvykY aL5s3gIlgem4pluRMBR31nDv1V89Bc9Qmv3gVXyEAx666oynp62CLCgH7tO7Wcjyy yVsMlEOATIypgjxWO3fmXJBO4ZbU3Wrrfcif2A3k6fPO/FwN8qSHZQEreRdMbRK4h Psxz2X0/zYL2bnMs+nwzhZ9Weo2gHJtkZxP9JRaEYDxjIyjJTPgFbbnS8Y8Kk0M+L OuM0zpFsspIY0zl4og== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.29] ([79.232.144.235]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MDhhX-1rR9Sm3Oit-00AkQL; Wed, 27 Dec 2023 21:34:27 +0100 Message-ID: <295e0172-68b9-4b05-bded-95c418b690fa@gmx.de> Date: Wed, 27 Dec 2023 21:34:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fortran: Use non conflicting file extensions for intermediates [PR81615] To: Rimvydas Jasinskas , Rimvydas Jasinskas via Fortran Cc: gcc-patches@gnu.org Newsgroups: gmane.comp.gcc.patches,gmane.comp.gcc.fortran References: Content-Language: en-US From: Harald Anlauf In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:czCF2913BnOpN90U1/2J7UTVsPGh1g73NzRa9yhus6aDt6yJvKQ BkCJ6OggE19llaWiuNyuH87yCYjTKnW3zx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J y851hdqh7Mi05y91elqlZSbif59YdSn0iqE8HtCXMMF97GCr6m+YA05tczhZSIOH1XuJs3BZN benXNw== Received-SPF: pass client-ip=212.227.17.20; envelope-from=anlauf@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DKIM_VALID_EF=-0.1,FREEMAIL_FROM=0.001,RCVD_IN_DNSWL_LOW=-0.7,RCVD_IN_MSPIKE_H4=0.001,RCVD_IN_MSPIKE_WL=0.001,SPF_HELO_NONE=0.001,SPF_PASS=-0.001,T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_PASS,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Rimvydas! Am 24.12.23 um 02:33 schrieb Rimvydas Jasinskas: > Documentation part. > The makeinfo gcc/fortran/gfortran.texi does not seem to have any new war= nings. The patch is almost fine, except for a strange wording here: +@smallexample +gfortran -save-temps -c foo.F90 +@end smallexample + +preprocesses to in @file{foo.fii}, compiles to an intermediate +@file{foo.s}, and then assembles to the (implied) output file +@file{foo.o}, whereas: I understand the formulation is copied from gcc/doc/invoke.texi, where it does not fully make sense to me either. How about: "preprocesses input file @file{foo.F90} to @file{foo.fii}, ..." Furthermore, +@smallexample +gfortran -save-temps -S foo.F +@end smallexample + +saves the (no longer) temporary preprocessed file in @file{foo.fi}, and +then compiles to the (implied) output file @file{foo.s}. Even if this is copied from the gcc texinfo file, how about: "saves the preprocessor output in @file{foo.fi}, ..." which I find easier to read. Can you also add a reference to the PR number in the commit message? > Is there a specific reason thy -fc-prototypes (Interoperability > Options section) is excluded from manpage? Can you be more specific? I get here (since gcc-9): % man /opt/gcc/14/share/man/man1/gfortran.1 |grep -A 1 "Interoperability Options" Interoperability Options -fc-prototypes -fc-prototypes-external although no detailed explanation (-> gfortran.info). > Regards, > Rimvydas Thanks, Harald From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id AA24B3858D37 for ; Wed, 27 Dec 2023 20:34:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AA24B3858D37 Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none) header.from=gmx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AA24B3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=116.202.254.214 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703709276; cv=none; b=G22PsRzPRMxRi07lH4F3SaeHIgHdaOqRQ4Lt+/GPoWP0Ipygzv5GaJsST8AYSLtZwc7MpEpRu5x8/MWdB+x5NyVavP04CIYBpAfOnVvkRqIOaEVNGmRDQ044rN20aSY88Y8z4YWEz7Hs7dSFvyr5F/wobKgMkwVUZFgcuxg1liI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703709276; c=relaxed/simple; bh=BFSfPC9GdLCD8UTfgt/lku48XVQFfjbmPBdzk9r+vWs=; h=To:From:Subject:Date:Message-ID:Mime-Version; b=xRxIcePKDB+Z/bLXHqvztrydyoptmDwhWbDPJ4+PiJUIxpLzw8GX95WBAV8t6JNpMUqD4rtQBlWH99lD7uyluv3y4Jl3RnioRpZxpXnPkOVLDlWgIyg9+SpVpEdIAaS+yG7M4fdexTTWBsNFGHgj4WYLqSYZ0kbaaISkAzQDl/U= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rIabp-0004Tu-AD for gcc-patches@gcc.gnu.org; Wed, 27 Dec 2023 21:34:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gcc-patches@gcc.gnu.org From: Harald Anlauf Subject: Re: Fortran: Use non conflicting file extensions for intermediates [PR81615] Date: Wed, 27 Dec 2023 21:34:26 +0100 Message-ID: <295e0172-68b9-4b05-bded-95c418b690fa@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: Cc: fortran@gcc.gnu.org X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Message-ID: <20231227203426.Xz21_RYfQTSdCO2uNZ5nhKKcGLL9gyWv-3Zi8OKWrbk@z> Hi Rimvydas! Am 24.12.23 um 02:33 schrieb Rimvydas Jasinskas: > Documentation part. > The makeinfo gcc/fortran/gfortran.texi does not seem to have any new warnings. The patch is almost fine, except for a strange wording here: +@smallexample +gfortran -save-temps -c foo.F90 +@end smallexample + +preprocesses to in @file{foo.fii}, compiles to an intermediate +@file{foo.s}, and then assembles to the (implied) output file +@file{foo.o}, whereas: I understand the formulation is copied from gcc/doc/invoke.texi, where it does not fully make sense to me either. How about: "preprocesses input file @file{foo.F90} to @file{foo.fii}, ..." Furthermore, +@smallexample +gfortran -save-temps -S foo.F +@end smallexample + +saves the (no longer) temporary preprocessed file in @file{foo.fi}, and +then compiles to the (implied) output file @file{foo.s}. Even if this is copied from the gcc texinfo file, how about: "saves the preprocessor output in @file{foo.fi}, ..." which I find easier to read. Can you also add a reference to the PR number in the commit message? > Is there a specific reason thy -fc-prototypes (Interoperability > Options section) is excluded from manpage? Can you be more specific? I get here (since gcc-9): % man /opt/gcc/14/share/man/man1/gfortran.1 |grep -A 1 "Interoperability Options" Interoperability Options -fc-prototypes -fc-prototypes-external although no detailed explanation (-> gfortran.info). > Regards, > Rimvydas Thanks, Harald