public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sjames at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-112415-4-sdPcLLCS67@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-112415-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415

--- Comment #8 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #6)

Program received signal SIGSEGV, Segmentation fault.
0x412083f0 in _PyST_GetSymbol (name=0xf9a34a00, ste=<optimized out>) at
Python/symtable.c:396
396         PyObject *v = PyDict_GetItemWithError(ste->ste_symbols, name);
(gdb) x/20i $pc
=> 0x412083f0 <_PyST_GetScope+20>:      ldw c(r26),r26
   0x412083f4 <_PyST_GetScope+24>:      movb,= ret0,r26,0x41208414
<_PyST_GetScope+56>
   0x412083f8 <_PyST_GetScope+28>:      copy r4,r19
   0x412083fc <_PyST_GetScope+32>:      b,l 0x410d6900 <PyLong_AsLong>,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          <unavailable>
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          <unavailable>
pcoqt          0x410e4c0f          1091456015
pcsqt          <unavailable>
eiem           <unavailable>
iir            <unavailable>
isr            <unavailable>
ior            <unavailable>
ipsw           0xeff0f             982799
goto           <unavailable>
sr4            <unavailable>
sr0            <unavailable>
sr1            <unavailable>
sr2            <unavailable>
sr3            <unavailable>
sr5            <unavailable>
sr6            <unavailable>
sr7            <unavailable>
cr0            <unavailable>
cr8            <unavailable>
cr9            <unavailable>
ccr            <unavailable>
cr12           <unavailable>
cr13           <unavailable>
cr24           <unavailable>
cr25           <unavailable>
cr26           0xeff0f             982799
mpsfu_high     0xf7afa500          4155483392
mpsfu_low      <unavailable>
mpsfu_ovflo    <unavailable>
pad            <unavailable>
fpsr           <unavailable>
fpe1           <unavailable>
fpe2           <unavailable>
fpe3           <unavailable>
fpe4           <unavailable>
fpe5           <unavailable>
fpe6           <unavailable>
fpe7           <unavailable>
(gdb)

  parent reply	other threads:[~2023-11-06 22:49 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-06 21:00 [Bug rtl-optimization/112415] New: [14 regression] Python 3.11 miscompiled " sjames at gcc dot gnu.org
2023-11-06 21:00 ` [Bug rtl-optimization/112415] [14 regression] Python 3.11 miscompiled on HPPA " sjames at gcc dot gnu.org
2023-11-06 21:01 ` sjames at gcc dot gnu.org
2023-11-06 21:03 ` pinskia at gcc dot gnu.org
2023-11-06 21:31 ` dave.anglin at bell dot net
2023-11-06 22:09 ` sjames at gcc dot gnu.org
2023-11-06 22:11 ` sjames at gcc dot gnu.org
2023-11-06 22:20 ` law at gcc dot gnu.org
2023-11-06 22:33 ` dave.anglin at bell dot net
2023-11-06 22:49 ` sjames at gcc dot gnu.org [this message]
2023-11-06 23:11 ` sjames at gcc dot gnu.org
2023-11-06 23:18 ` dave.anglin at bell dot net
2023-11-07 14:08 ` manolis.tsamis at vrull dot eu
2023-11-07 21:12 ` sjames at gcc dot gnu.org
2023-11-08  1:36 ` sjames at gcc dot gnu.org
2023-11-08  2:24 ` dave.anglin at bell dot net
2023-11-08 10:09 ` manolis.tsamis at vrull dot eu
2023-11-08 14:42 ` jeffreyalaw at gmail dot com
2023-11-08 18:59 ` dave.anglin at bell dot net
2023-11-08 19:07 ` pinskia at gcc dot gnu.org
2023-11-08 19:16 ` law at gcc dot gnu.org
2023-11-08 19:40 ` dave.anglin at bell dot net
2023-11-08 23:33 ` pinskia at gcc dot gnu.org
2023-11-08 23:40 ` danglin at gcc dot gnu.org
2023-11-08 23:51 ` sjames at gcc dot gnu.org
2023-11-09  0:00 ` dave.anglin at bell dot net
2023-11-09  0:02 ` sjames at gcc dot gnu.org
2023-11-09  0:07 ` law at gcc dot gnu.org
2023-11-09  0:08 ` dave.anglin at bell dot net
2023-11-09  0:23 ` dave.anglin at bell dot net
2023-11-09 18:04 ` danglin at gcc dot gnu.org
2023-11-09 19:17 ` danglin at gcc dot gnu.org
2023-11-09 20:28 ` law at gcc dot gnu.org
2023-11-09 20:41 ` dave.anglin at bell dot net
2023-11-09 23:41 ` danglin at gcc dot gnu.org
2023-11-11 19:40 ` danglin at gcc dot gnu.org
2023-11-11 19:51 ` sjames at gcc dot gnu.org
2023-11-11 20:00 ` danglin at gcc dot gnu.org
2023-11-11 20:06 ` danglin at gcc dot gnu.org
2023-11-11 20:19 ` sjames at gcc dot gnu.org
2023-11-11 21:54 ` danglin at gcc dot gnu.org
2023-11-12 15:05 ` danglin at gcc dot gnu.org
2023-11-12 15:54 ` law at gcc dot gnu.org
2023-11-12 23:59 ` danglin at gcc dot gnu.org
2023-11-13  0:24 ` law at gcc dot gnu.org
2023-11-13  9:33 ` manolis.tsamis at vrull dot eu
2023-11-13  9:37 ` manolis.tsamis at vrull dot eu
2023-11-13 13:20 ` manolis.tsamis at vrull dot eu
2023-11-13 15:06 ` dave.anglin at bell dot net
2023-11-13 15:26 ` manolis.tsamis at vrull dot eu
2023-11-13 21:46 ` danglin at gcc dot gnu.org
2023-11-16 17:43 ` cvs-commit at gcc dot gnu.org
2023-11-27 20:55 ` sjames at gcc dot gnu.org
2023-11-28 12:39 ` manolis.tsamis at vrull dot eu
2024-03-18  0:22 ` cvs-commit at gcc dot gnu.org
2024-03-18  0:39 ` danglin at gcc dot gnu.org
2024-03-22 13:34 ` law at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-112415-4-sdPcLLCS67@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).