From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D4E363858D35; Wed, 28 Jun 2023 22:18:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4E363858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687990701; bh=ykNEksLR/lPctIyx181rrWryUSH3eZJH+J6zOmmh/JE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sxfOPZJxnegIvCQScpYxUl1AIeg3g0cb56Ux8vKAnalELKdLW9H9GPwcqyXsvozRl Q+1Mc6m9BZ4blGe23V+T46sCh+xSO6PxG5NRHRa1a349abCa+zZxQt5mRsUzQYDD5w UVXebDJ7vJAv7mzAL2KHc0O2Y+tiIRktLGZdOHkI= From: "brjd_epdjq36 at kygur dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/110408] [13/14 Regression] gcc 13 crashes with %rename in specs Date: Wed, 28 Jun 2023 22:18:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: brjd_epdjq36 at kygur dot com 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: 13.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D110408 Brjd changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Brjd --- Please ignore it. I test it more and find out that it is my misunderstanding that I can make it the default specs if I use the %rename option. However, = the compiler is not designed in this way. Please tell if there are other options. AFAIK currently there are two optio= ns to change the specs behavior.=20 First, I can override only a part of the specs file with the %rename option. The shortage here is that it is not the default and I should invoke it manu= ally every time by the -specs=3D/path-to-my-specs-file. The second way is a rebuild of the GCC or changes in the whole specs file. = This is the way I can set the default without invoking in the command line -specs=3D/path-to-my-specs-file. I do the first one and that causes the error since I use the GCC without -specs. The compiler simply replaces the whole specs with my custom overrid= ing specs and fails.=