From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1670F3858D20; Mon, 26 Jun 2023 07:39:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1670F3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687765173; bh=j3BppavlAcSEzE8eekEcg8HwwNU4aL7kbh4qM2RmzXU=; h=From:To:Subject:Date:From; b=c4XLtO3Zj55iAp3KjXKGc/IKxQJgILgln80NS6MRzGP6/ZVuFo0RbPO0ToXRLEnZu EyEDgCm2+K5PbXjdzO/Bwwn/6xXnQqoI3xE7kNRW2SMQ4CR21eDaEwxJPnndnkxDg1 K8UMJhMEjsoVj+a734IHVGn/+TsiOEFDXT2LKI8c= From: "brjd_epdjq36 at kygur dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/110408] New: gcc 13 crashes with %rename in specs Date: Mon, 26 Jun 2023 07:39:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: brjd_epdjq36 at kygur dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Bug ID: 110408 Summary: gcc 13 crashes with %rename in specs Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: brjd_epdjq36 at kygur dot com Target Milestone: --- According to https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html=20 if I apply this instruction to redefine only a part of the specs file: %rename lib old_lib *lib: --start-group -lgcc -lc -leval1 --end-group %(old_lib) ,it is not necessary to change the whole specs file.=20 Still, in gcc 13 it crashes and returns this error: g++-13: fatal error: specs file malformed after 35 characters compilation terminated. 35 characters is the position after the last character in the old_lib strin= g. I test it with an older compiler gcc 4 and it is wonderful, no error. I suppose that this manual is not updated to work in gcc 13 and there are changes in the syntax.=