From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 68E203858D37; Sun, 26 Mar 2023 19:29:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68E203858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679858985; bh=bR+GdSWRxhm/JadnnUgc7syEBSLOdTHEK+2Q0HK+9IE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Rph+vpy62ET9KO8SOeWJ0NtAjRakBKIqVqgBULGoFLomDQqsR3wcjG0Z416QofFdZ 3KkGGTk4EThsJHN3NZullkMdlQLXyNrGgt8NjJT4knTfzr0tDuKehfdK64R2g5mCaz JgcpPG4WovHHslPks3cGKhdcwucdM+0HqfCGsfaU= From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/109183] [regression?] since GCC 11.1, -MM -MMD generates "a-" prefixed dependency files Date: Sun, 26 Mar 2023 19:29:44 +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: aoliva at gcc dot gnu.org 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 #3 from Alexandre Oliva --- dump files now consistently take the base name from the output name, when n= ot overridden since in this case gcc is called for (compiling and) linking, and the final output name is a.* (.out or .exe, depending on the platform), the prefix for dump files is taken to be 'a'. since there could be multiple source files,= the source file name is then appended to the prefix to form each compilation's = dump file base name. using the randomized temporary output names for each compilation wouldn't make for predictable dump file names, which was a prim= ary motivator for this implementation. enabling separate dump files from multi= ple compilations of the same source file was another. change can be surprising, but the previous behaviors (they changed over tim= e) were very often undesirable, now (because we have tons of tests for the cur= rent behavior) it will hopefully settle down, and will eventually feel intuitive= and just "right" :-) thanks for bearing with us,=