[Bug target/126916] New: GCN: 'FAIL: gcc.dg/pr126569-1.c (internal compiler error: in extract_insn, at recog.cc:2894)'

"tschwinge at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126916

            Bug ID: 126916
           Summary: GCN: 'FAIL: gcc.dg/pr126569-1.c (internal compiler
                    error: in extract_insn, at recog.cc:2894)'
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: testsuite-fail
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: ams at gcc dot gnu.org
            Blocks: 126569
  Target Milestone: ---
            Target: amdgcn

The test case 'gcc.dg/pr126569-1.c' added in commit
r17-2882-gc42241d2de04ce75550649ed3dca7ff1549c3343 "cselim: Fix
cond_store_replacement_limited for clobbers [PR126569]" ICEs for
'--target=amdgcn-amdhsa':

    +FAIL: gcc.dg/pr126569-1.c (internal compiler error: in extract_insn, at
recog.cc:2894)
    +FAIL: gcc.dg/pr126569-1.c (test for excess errors)

    [...]/source-gcc/gcc/testsuite/gcc.dg/pr126569-1.c: In function 'f':
    [...]/source-gcc/gcc/testsuite/gcc.dg/pr126569-1.c:20:1: error:
unrecognizable insn:
    (insn 20 19 21 6 (set (reg/v:SI 686 [ k2 ])
            (subreg:SI (symbol_ref:DI ("gw") [flags 0x2] <var_decl
0x7f89c80ea850 gw>) 0))
"[...]/source-gcc/gcc/testsuite/gcc.dg/pr126569-1.c":14:21 -1
         (nil))
    during RTL pass: vregs
    [...]/source-gcc/gcc/testsuite/gcc.dg/pr126569-1.c:20:1: internal compiler
error: in extract_insn, at recog.cc:2894
    0x24ca0ab internal_error(char const*, ...)
            [...]/source-gcc/gcc/diagnostic-global-context.cc:787
    0xad900c fancy_abort(char const*, int, char const*)
            [...]/source-gcc/gcc/diagnostics/context.cc:1813
    0x8c706c _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
            [...]/source-gcc/gcc/rtl-error.cc:108
    0x8c70f6 _fatal_insn_not_found(rtx_def const*, char const*, int, char
const*)
            [...]/source-gcc/gcc/rtl-error.cc:116
    0x8b82f3 extract_insn(rtx_insn*)
            [...]/source-gcc/gcc/recog.cc:2894
    0xe6cf71 instantiate_virtual_regs_in_insn
            [...]/source-gcc/gcc/function.cc:1611
    0xe6cf71 instantiate_virtual_regs
            [...]/source-gcc/gcc/function.cc:1987
    0xe6cf71 execute
            [...]/source-gcc/gcc/function.cc:2034


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126569
[Bug 126569] [17 Regression] cond_store_replacement_limited  vs clobbers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.