From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0FD123852C60; Sat, 10 Dec 2022 02:04:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FD123852C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670637853; bh=OKqavtclifecmHKFJXdJdQmxjUj89NUFO+2ooF6N/gU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tM7z4i1hWkQoEIyh5+2CBcroMpE+7vKrOBCsCOH/LnPK4StTNIW51LfDEHYstLd1R Yxma1V4PsO2egkfDcIPI1jKywbqc6UR3yLwuQViqjUc+JJdBWQeJp5HJGPw2uo1sAq G3rl/wvjWhW3e18uMsMLTgbQt9XcGM/McT96b+QA= From: "sgk at troutmask dot apl.washington.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: Sat, 10 Dec 2022 02:04:12 +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: enhancement X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 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 #15 from Steve Kargl = --- On Sat, Dec 10, 2022 at 01:47:44AM +0000, barrowes at alum dot mit.edu wrot= e: >=20 > Thanks for engaging, and thanks for the suggestion. I might be able to do= this > over the winter. Could you give me a hint as to where to look. Which file= s. >=20 I suspect that you should start by understand gcc/fortran/lang-specs.h. That's where most of the the filename suffixes are defined. In particular, this chuck of code /* Identical to gcc.cc (cpp_options), but omitting %(cpp_unique_options) and -fpch-preprocess on -save-temps. */ #define CPP_ONLY_OPTIONS "%1 %{m*} %{f*} %{g*:%{!g0:%{g*} \ %{!fno-working-directory:-fworking-directory}}= } \ %{std*&ansi&trigraphs} %{W*&pedantic*} %{w} \ %{O*} %{undef}"=