From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EFCBC3858438; Tue, 9 Jan 2024 09:25:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFCBC3858438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704792318; bh=UH8vhzx45rA5mU+XTD3R6xVdUVCtOqc67xdgP2MEsV0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OaG3tPoEpkfvEGezHlUYlnvWtwz8VMNt8Gf7NJrB7IFSmEFQmXvR8BgbjBeSKa2Bo UHKHzIpCSHO81T/COOHQaq5xI7PyZt2jNB/55sY1wec/6GvBL0ZQ7yE3SGpsXaDso4 YohCPyAGQDxKU9PpNv7AiVJdsBHvW/CSS/PCOMCI= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/113140] [13/14 regression] segmentation fault during delay slot scheduling Date: Tue, 09 Jan 2024 09:25:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 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=3D113140 --- Comment #10 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:f34141730266600b615b91d563a85a0b60223b3e commit r14-7028-gf34141730266600b615b91d563a85a0b60223b3e Author: Eric Botcazou Date: Tue Jan 9 10:14:29 2024 +0100 Fix segfault during delay slot scheduling pass This is a small regression present on the mainline and 13 branch, altho= ugh the underlying problem has probably been there for ages, in the form of= a segfault during the delay slot scheduling pass, for a function that fal= ls through to exit without any instruction generated for the end of functi= on. gcc/ PR rtl-optimization/113140 * reorg.cc (fill_slots_from_thread): If we are to branch after = the last instruction of the function, create an end label. gcc/testsuite/ * g++.dg/opt/delay-slot-2.C: New test.=