From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C5FC3858D34; Thu, 2 May 2024 16:43:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C5FC3858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714668218; bh=dy8zvERtsh0KtXTWi04LMCn60zYdim2g1SqTZ5+wOHs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ls4vignKbwZlFtYqfra6e/Dq09MUOoFqgmaK0J6onvGpN+hqQmJzAAqCllLOWbDhU opXuPTjPCje16LJvAZFhvNRU6PgyC+2SALo6UEU0xkYzbkvlhXFOfN+g+AZvx8UDJF I6Z1ivRCFHp3A1pZ0fy13ISXYw5pbYHssVdw07MA= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/114922] fsyntax-only need the modules Date: Thu, 02 May 2024 16:43:38 +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: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: resolution bug_status 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=3D114922 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from anlauf at gcc dot gnu.org --- The documentation says: -fsyntax-only Check the code for syntax errors, but do not actually compile it. This = will generate module files for each module present in the code, but no other out= put file. So if you do not provide the needed modules, you should get exactly the same errors as when compiling without -fsyntax-only.=