public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/94758] New: ICE:  in extract_insn, at recog.c:2310 on hppa64 with __thread variable
@ 2020-04-25 10:30 ibuclaw at gdcproject dot org
  2023-10-29 12:37 ` [Bug target/94758] " sjames at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-04-25 10:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94758
           Summary: ICE:  in extract_insn, at recog.c:2310 on hppa64 with
                    __thread variable
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

Tested with 7.5.0, 8.4.0, 9.2.1, and 10.0.1, all give out the same error.
---
__thread int x;

int main()
{
    x = 0;
}
---

test.c: In function ‘main’:
test.c:6:1: error: unrecognisable insn:
    6 | }
      | ^
(insn 6 3 7 2 (set (reg:DI 69)
        (unspec:SI [
                (const_int 0 [0])
            ] UNSPEC_TP)) "test.c":5:7 -1
     (nil))
during RTL pass: vregs
test.c:6:1: internal compiler error: in extract_insn, at recog.c:2294
0x6491e5 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:108
0x649201 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:116
0x646e97 extract_insn(rtx_insn*)
        ../../gcc/recog.c:2294
0xa5afc3 instantiate_virtual_regs_in_insn
        ../../gcc/function.c:1607
0xa5afc3 instantiate_virtual_regs
        ../../gcc/function.c:1977
0xa5afc3 execute
        ../../gcc/function.c:2026
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/94758] ICE:  in extract_insn, at recog.c:2310 on hppa64 with __thread variable
  2020-04-25 10:30 [Bug target/94758] New: ICE: in extract_insn, at recog.c:2310 on hppa64 with __thread variable ibuclaw at gdcproject dot org
@ 2023-10-29 12:37 ` sjames at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-10-29 12:37 UTC (permalink / raw)
  To: gcc-bugs

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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-10-29
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
(Re)confirmed with 12.3.1 20230512.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-29 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25 10:30 [Bug target/94758] New: ICE: in extract_insn, at recog.c:2310 on hppa64 with __thread variable ibuclaw at gdcproject dot org
2023-10-29 12:37 ` [Bug target/94758] " sjames at gcc dot gnu.org

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).