From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by sourceware.org (Postfix) with ESMTPS id 046163858D38 for ; Wed, 27 Dec 2023 20:34:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 046163858D38 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine 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 046163858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.227.17.20 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 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 BkCJ6OggE19llaWiuNyuH87yCYjTKnW3zxXugC79ut9f+jIXH1OlNCzcq04zwUK0gb4k3gy SSJxp5xxO0L4W+np8VsrMSEvldyaQ71/OdYgQKxZOT9nlh6kSKHWnXGbe+qcBgm9rhVecru dENYx9fABf7XHKT118EPA== UI-OutboundReport: notjunk:1;M01:P0:kE4jVdyK59I=;sTOlpXOf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CVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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: 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