From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by sourceware.org (Postfix) with ESMTPS id ABFD83858D38 for ; Thu, 28 Dec 2023 20:31:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ABFD83858D38 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 ABFD83858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.227.17.22 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703795511; cv=none; b=H5GVaZ/2o9Dv8wSSsfoSSBlHjsELHQilDqokZNS0mwzK0bV6I7ga3JcUmc1Be9x96/DZfjHeiR7gs5kMOD434Nfiz4bffZ+ayN+ZA028+6B6BxfKW51rscN0U6znxUOG3X9YZnnCBT3vANmxfUUYT0NAfrNOEAyzWIOCgQA8nU0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703795511; c=relaxed/simple; bh=+F/W2h0DnW0vMNcErXvzjsjhEDO6VyNzDWS29fBRv/c=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=vV8TlyDNqd43r6BkxzS15nlXzpNiibRc5s5MqIZoyR5QMTtvKrkj4Bd8K/Pba46fmVX4KzugphLA05pEjYG+tcBiL7WGXdE+2rGrrxxe9TYT8e1ktRTK+iEN6dy/H+AzOC+9xMwDCvzI1pHyJ6ECIrDFuHG56ubwwUp/SnGEKpo= ARC-Authentication-Results: i=1; server2.sourceware.org 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/8lvmTXhnc63eMie4YGuIhHxaOAkoqvVHDR4KsHRGQlsBZoe6/HXEgicM727ccwBsd WtN4L8d3bArV86B7qG+IDQJNMmI1Hpv9rq4Qc4TtSkR+KUdV2iG8Md0vGSfM04ooxdg885C NuHwvBDqJRH7MW+c/B0sg== UI-OutboundReport: notjunk:1;M01:P0:7U0M3mKPppU=;MpicHbo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ID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,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 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