From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 958543858C5E; Mon, 27 Mar 2023 17:23:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 958543858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679937816; bh=Nn0Beb1+AZqmqp9TzvLHGAK4h+Hwyx08RNGvIPQ7U5E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=d5z5nS9RRBJzFOTFebPBZCwbBEhRlr0v+Yny04dZysD0rn9zLnjOUpolar1QIiYTp riduDRuSaoAdtRCfGUIg3xeyzATBxENjA/eR3DxRK3meCkpo7paLsLHr9rBBCMZ4nh 1dzJL192ZelFmXq31jqgarVlfIDfMLueCUjqWDSM= From: "yann at droneaud dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/109183] [regression?] since GCC 11.1, -MM -MMD generates "a-" prefixed dependency files Date: Mon, 27 Mar 2023 17:23:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yann at droneaud dot fr X-Bugzilla-Status: UNCONFIRMED 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=3D109183 --- Comment #4 from Yann Droneaud --- (In reply to Alexandre Oliva from comment #3) > dump files now consistently take the base name from the output name, when > not overridden >=20 > since in this case gcc is called for (compiling and) linking, and the fin= al > output name is a.* (.out or .exe, depending on the platform), That the issue at hand, `gcc -MM -MMD test.c` does not compile nor link anything: it preprocess and extract dependencies, nothing more. Thus using "a.out" as the output is not expected.=