From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BEC4638715BE; Thu, 8 Dec 2022 17:35:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BEC4638715BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670520927; bh=gE07CIkhe9bSLyJNEb0s9uPEXXWRDDsYv+KVuJ92/oI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NQy0MnOUvY9ukavLw62CsM/RcR3zZmSyY7wBskfIN0LvWwdxoUToSlQt44uWsVsav YyC8xD6Y7tgIsopy8nFLHQbKkAVDocnQPOet78Sxj2PfaiBYXI87T7wZRSpwYxEKF3 JVmVi7O2O0rh03rBcbXyJ7T974jL3jpnf8AF2j3g= From: "barrowes at alum dot mit.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/81615] save-temps and gfortran produces *.f90 files instead of *.i or *i90 files Date: Thu, 08 Dec 2022 17:35:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: barrowes at alum dot mit.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81615 --- Comment #6 from Ben Barrowes --- There are many cases where people do not use a capital "F", but still have preprocessor directives in the code. In these cases, no proprocessed file is written out right now, AFAIK. So perhaps as you suggest we could add a new suffix to the old filename. Th= en test1.f would become test.f.i and test1.f90 would also become test1.f.i, et= c. Having this one rule would be a concise solution and have a guaranteed outp= ut in all cases.=