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 8A3843858D28 for ; Thu, 28 Dec 2023 20:31:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8A3843858D28 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 8A3843858D28 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=1703795510; cv=none; b=ri72PSDgCPh2sLUf+oiuYpVJ+j/w5P5VDFcLR2Xr/eoGRPY8dJie4P1YQjdqUxa/1a1ol0Jzb0AubMuZX4UwBNtlJcmZhL/H8sqsW0OicRw07+vK9C/aRsHheROr3U11izA/0i2O6r3/yIXYhyuLLjrSscr+rJQUGMSEqTp2LQM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703795510; c=relaxed/simple; bh=+F/W2h0DnW0vMNcErXvzjsjhEDO6VyNzDWS29fBRv/c=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=PvHH5fcRAmRttlCqPDHBFeMlm1PtHJvHENRUZhvt4NPZRgPmPp1Iev8IrA3zuj6JISw4YIt4dPjcEPSefC6uY9RqE0I5R8i8x26vXa/mJqnK9yVYA/cOwAy8OaZfhHmv314gWhj82REt9k3ZG5fr7IZA7iclu9+y8GCmE7ulNHU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIx2g-000218-3Q for gcc-patches@gnu.org; Thu, 28 Dec 2023 15:31:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1703795503; x=1704400303; i=anlauf@gmx.de; bh=+F/W2h0DnW0vMNcErXvzjsjhEDO6VyNzDWS29fBRv/c=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=hCy3bS5Dy50WXGVWgjxePhILq/Bnrq0oIBMZeMtvs3H8oq+PhhMOBpo8PN9LlNuJ joOgW7iElLsgw7i17coIVcJwqSE3AldhZHFJcCxeujzE9En87vs15udrN2qnaiQnP k6EWlM4q3GO4dzRH6w4j9n7hchVjvsixJvTIDPMK9DGlJnFEOGEtI98qnDNtvsQGK 1o9i0gaGBoD/PjiIrPQM3oeCoQKoPo2ephbDJ+JhcsA5PJqqYaHguUUUWuTDFhyAb U2hISqq/sb6P1wOlb73fUnSl8oNZA3PglxnEN9hFA84vbpdo3GzM/yY09TLRMvUcd JWzXwRNOEDd7TOk9oA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.29] ([79.251.13.213]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTRMi-1rg0l10fuu-00ToRl; Thu, 28 Dec 2023 21:31:43 +0100 Message-ID: Date: Thu, 28 Dec 2023 21:31:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fortran: Use non conflicting file extensions for intermediates [PR81615] To: Rimvydas Jasinskas Cc: Rimvydas Jasinskas via Fortran , gcc-patches@gnu.org Newsgroups: gmane.comp.gcc.patches,gmane.comp.gcc.fortran References: <295e0172-68b9-4b05-bded-95c418b690fa@gmx.de> 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:4Z19+MaLz6++aD8yyBMS6obQGTjaThTAfKKXsVn93W3cAkzS1YN u/EZE/8lvmTXhnc63eMie4YGuIhHxaOAkoqvVHDR4KsH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xGKh0nP7T97OP7JXnFDhHq93igyi0w8JmVGrGdPCjpVEttdLE7bDudNjY7rgL /t/njY6BqIoqAKBRfjjySX+w+gw= Received-SPF: pass client-ip=212.227.17.22; 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_H3=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,KAM_SHORT,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 28.12.23 um 08:09 schrieb Rimvydas Jasinskas: > On Wed, Dec 27, 2023 at 10:34=E2=80=AFPM Harald Anlauf w= rote: >> 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}, an= d >> +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? > I agree, wording sounds a lot better, included in v2 together with PR nu= mber. Yes, this is OK. Pushed: https://gcc.gnu.org/g:2cb93e6686e4af5725d8c919cf19f535a7f3aa33 Thanks for the patch! >>> 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 "Interoperabilit= y >> Options" >> Interoperability Options >> -fc-prototypes -fc-prototypes-external >> >> although no detailed explanation (-> gfortran.info). > The https://gcc.gnu.org/onlinedocs/gfortran/Invoking-GNU-Fortran.html > does contain a working link to > https://gcc.gnu.org/onlinedocs/gfortran/Interoperability-Options.html > However the manpage has Interoperability section explicitly disabled > with "@c man end" ... "@c man begin ENVIRONMENT". > After digging into git log it seems that Interoperability section was > unintentionally added after this comment mark in > https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommitdiff;h=3De655a6cc43 Yes, that might have been unintentional. Can you open a PR, and if you have a fix, attach it there? Thanks, Harald > Best regards, > Rimvydas 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 19A1A3858D39 for ; Thu, 28 Dec 2023 20:31:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 19A1A3858D39 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 19A1A3858D39 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=1703795512; cv=none; b=BKn9HOVBbf1cuKdCDCr2HbIMrCcrFBQCLG+ctHGTiM739L6xEE+yMAAF9+WLB7gBs3F8JGr7HiER+6n6gIw0JyFvnVG1tL13gkPfpvqN7mIljrcV6m18bS81HNFPOiHuowaZIiwO2rUyGb4Xn9rRoSIm3M9wTS/3Gbd4PiQ/nPo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703795512; c=relaxed/simple; bh=XXOEEGXgZdbrIRLluVrDroDhkMHhqJdCma/32O5f0IU=; h=To:From:Subject:Date:Message-ID:Mime-Version; b=kRG3jHHEdDo9Vye66vUI7Q6abkpHTtl+zy02FAZdbbT+KvX7D7OH48qtshfTbPuT+nlidYP32MFrohNRE4gEEd1UVvuh/s6//1cZhQ6aFOHCmw/dVEVM17gpODUwnWFoL0+7HB9rAPx144MxOqJi8HZVjXtJMbZajr498cmuyEM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rIx2j-0003BP-AV for gcc-patches@gcc.gnu.org; Thu, 28 Dec 2023 21:31:49 +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: Thu, 28 Dec 2023 21:31:42 +0100 Message-ID: References: <295e0172-68b9-4b05-bded-95c418b690fa@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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,KAM_SHORT,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: <20231228203142.eJDf90mpdodtdo0RpmWCoh0R7sMJW_LTxctLPEJpmTM@z> Hi Rimvydas! Am 28.12.23 um 08:09 schrieb Rimvydas Jasinskas: > On Wed, Dec 27, 2023 at 10:34 PM Harald Anlauf wrote: >> 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? > I agree, wording sounds a lot better, included in v2 together with PR number. Yes, this is OK. Pushed: https://gcc.gnu.org/g:2cb93e6686e4af5725d8c919cf19f535a7f3aa33 Thanks for the patch! >>> 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). > The https://gcc.gnu.org/onlinedocs/gfortran/Invoking-GNU-Fortran.html > does contain a working link to > https://gcc.gnu.org/onlinedocs/gfortran/Interoperability-Options.html > However the manpage has Interoperability section explicitly disabled > with "@c man end" ... "@c man begin ENVIRONMENT". > After digging into git log it seems that Interoperability section was > unintentionally added after this comment mark in > https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e655a6cc43 Yes, that might have been unintentional. Can you open a PR, and if you have a fix, attach it there? Thanks, Harald > Best regards, > Rimvydas