From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D2BE83857355; Mon, 6 Nov 2023 23:18:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2BE83857355 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699312706; bh=dVpGXlnFdPWPs+n4whOZv5AFgKbVtneH4k+2Oak/RBc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=t5dkDUYksnaJhW1VvxXZwtnJZGD6x2nMyW1AVNeFkQEAV0W278jsyGwCEtwfwuaSZ tYDx/IWaWZTH80uFYZd1feBzQozpMvIzBOHfwNMhCrUOGrFSJRzaQmeZ1WTbccAmS0 tFIcIWmelkzmP4KkJ5tgVufW77En499ZOL6moJt4= From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA with new RTL fold mem offset pass, since r14-4664-g04c9cf5c786b94 Date: Mon, 06 Nov 2023 23:18:26 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net 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: 14.0 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=3D112415 --- Comment #10 from dave.anglin at bell dot net --- On 2023-11-06 5:49 p.m., sjames at gcc dot gnu.org wrote: > Program received signal SIGSEGV, Segmentation fault. > 0x412083f0 in _PyST_GetSymbol (name=3D0xf9a34a00, ste=3D) = at > Python/symtable.c:396 > 396 PyObject *v =3D PyDict_GetItemWithError(ste->ste_symbols, nam= e); > (gdb) x/20i $pc > =3D> 0x412083f0 <_PyST_GetScope+20>: ldw c(r26),r26 r26=3D0x34, so the ldw will fault.=C2=A0 It appears r26 and r25 have been e= xchanged in the code prior to <_PyST_GetScope+20>.=C2=A0 In any case, the problem is with the ste argument passed to=C2=A0 _PyST_GetSymbol.=