From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 659C93858C53; Mon, 6 Nov 2023 22:49:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 659C93858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699310949; bh=K6sH8wOFTd+Dw5Zyuzw5dSeNBWQ01ha/VQrcoBfpyXU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Rew3Hz5UcQoAdhqpHTl5NUEFYJgEL9/JkoTcLlfROWc2k+VD+fJl4P13qybVLVl7V eeI28MW/ZMW8C415NXSPaXRz/oERwTnp0127x4rzfsx+IRl4rZHd/q9aoNvlsC42Af kmHKTeXlvvmCx0zvGzkw/tvfkMk8ZKUaWNvPIC+g= From: "sjames at gcc dot gnu.org" 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 22:49:08 +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: sjames at gcc dot gnu.org 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 #8 from Sam James --- (In reply to Jeffrey A. Law from comment #6) 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, name); (gdb) x/20i $pc =3D> 0x412083f0 <_PyST_GetScope+20>: ldw c(r26),r26 0x412083f4 <_PyST_GetScope+24>: movb,=3D ret0,r26,0x41208414 <_PyST_GetScope+56> 0x412083f8 <_PyST_GetScope+28>: copy r4,r19 0x412083fc <_PyST_GetScope+32>: b,l 0x410d6900 ,rp 0x41208400 <_PyST_GetScope+36>: nop 0x41208404 <_PyST_GetScope+40>: ldw -54(sp),rp 0x41208408 <_PyST_GetScope+44>: extrw,u ret0,20,4,ret0 0x4120840c <_PyST_GetScope+48>: bve (rp) 0x41208410 <_PyST_GetScope+52>: ldw,mb -40(sp),r4 0x41208414 <_PyST_GetScope+56>: copy r26,ret0 0x41208418 <_PyST_GetScope+60>: ldw -54(sp),rp 0x4120841c <_PyST_GetScope+64>: bve (rp) 0x41208420 <_PyST_GetScope+68>: ldw,mb -40(sp),r4 0x41208424 <_Py_SymtableStringObjectFlags>: stw rp,-14(sp) 0x41208428 <_Py_SymtableStringObjectFlags+4>: stw,ma r8,80(sp) 0x4120842c <_Py_SymtableStringObjectFlags+8>: copy r23,r8 0x41208430 <_Py_SymtableStringObjectFlags+12>: stw r7,-7c(sp) 0x41208434 <_Py_SymtableStringObjectFlags+16>: copy r24,r7 0x41208438 <_Py_SymtableStringObjectFlags+20>: stw r6,-78(sp) 0x4120843c <_Py_SymtableStringObjectFlags+24>: copy r25,r6 (gdb) (gdb) i r flags r1 0x411bc688 1092339336 rp 0x412083f7 1092649975 r3 0x1 1 r4 0x4136c000 1094107136 r5 0xf9a34a00 4188228096 r6 0x8d 141 r7 0xf7b03b88 4155521928 r8 0xf7b03ba8 4155521960 r9 0xf9953b68 4187306856 r10 0x0 0 r11 0x8e 142 r12 0x414e1820 1095637024 r13 0x414e4490 1095648400 r14 0xf9a76498 4188497048 r15 0x1 1 r16 0xf99bb5e8 4187731432 r17 0xf9ae11b4 4188934580 r18 0xf99e3b68 4187896680 r19 0x4136c000 1094107136 r20 0x411bc7f0 1092339696 r21 0x41450268 1095041640 r22 0x8d 141 r23 0x1 1 r24 0x1 1 r25 0xf9a34a00 4188228096 r26 0x34 52 dp 0x4136c000 1094107136 ret0 0xf9964020 4187373600 ret1 0x8d 141 sp 0xf7b04080 4155523200 r31 0x1 1 sar 0x3d 61 pcoqh 0x412083f3 1092649971 pcsqh pcoqt 0x410e4c0f 1091456015 pcsqt eiem iir isr ior ipsw 0xeff0f 982799 goto sr4 sr0 sr1 sr2 sr3 sr5 sr6 sr7 cr0 cr8 cr9 ccr cr12 cr13 cr24 cr25 cr26 0xeff0f 982799 mpsfu_high 0xf7afa500 4155483392 mpsfu_low mpsfu_ovflo pad fpsr fpe1 fpe2 fpe3 fpe4 fpe5 fpe6 fpe7 (gdb)=