From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8AA453858C2F; Tue, 2 Jan 2024 15:04:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8AA453858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704207889; bh=sh8b2MOYz256p9t8G2HU183t3RI0YTpNR1vx+/SURxc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HFoVFB1iTCA0fyEZTGB12tB8gzKay8B8naGDgQIFZMinKlTPHaCLPjQ5Ic+kzBrKF O4Y6AJxqIg4YyiTUPiwV9Z1JezMWGmuLqn1k46fpawJ+tEFoAYdblXnRaIaKGiA15Z 6pREW02PJ3WSkIFHIQxyPzZXSH5TXyLom3RpOLBw= From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113140] [SPARC] [13 Regression] Segmentation fault during RTL pass: dbr Date: Tue, 02 Jan 2024 15:04:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE 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=3D113140 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Rainer Orth --- > It's also helpful to include the cc1plus invocation from g++ -v; that inc= ludes > all you need to reproduce. The full one is cc1plus -fpreprocessed qv4qobjectwrapper.cpp.ii -mptr64 -mstack-bias -mno-v8plus -quiet -m64 -mcpu=3Dv9 -g -O2 -std=3Dc++17 -version -flto=3Dauto -ffat-lto-objects -fstack-protector-strong -fPIC -fvisibility=3Dhidden -fvisibility-inlines-hidden -fno-exceptions -o qv4qobjectwrapper.cpp.s With the original testcase and cc1plus from the gcc-13 branch, this can be reduced to cc1plus -fpreprocessed qv4qobjectwrapper.cpp.ii -mptr64 -mstack-bias -mno-v8plus -quiet -m64 -mcpu=3Dv9 -O2 -fno-exceptions -o qv4qobjectwrapper= .cpp.s while without -fno-exceptions the test compiles in this configuration. Fortunately, I managed to reduce the testcase as attached, which SEGVs even without -fno-exceptions. On trunk, the original testcase compiles without issues, while the reduced one SEGVs since gcc-8 (didn't try before) up to trunk.=