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

            Bug ID: 119208
           Summary: internal compiler error: in extract_constrain_insn, at
                    recog.cc:2783
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bic60176 at gmail dot com
  Target Milestone: ---

Created attachment 60703
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60703&action=edit
testcase

Compiler Explorer: https://godbolt.org/z/jK1fqs4E3

Console:
<source>: In function 'test':
<source>:11:1: error: unrecognizable insn:
   11 | }
      | ^
(insn 8 7 9 2 (parallel [
            (set (mem/c:SI (plus:DI (reg/f:DI 6 bp)
                        (const_int -4 [0xfffffffffffffffc])) [1 x+0 S4 A32])
                (asm_operands:SI ("") ("=g") 0 [
                        (reg:DI 0 ax [100])
                        (mem/c:QI (symbol_ref:DI ("s.0") [flags 0x2] <var_decl
0x7b07497cae40 s>) [2 s+0 S1 A8])
                    ]
                     [
                        (asm_input:DI ("0b0") <source>:8)
                        (asm_input:QI ("m") <source>:8)
                    ]
                     [] <source>:8))
            (set (mem/c:QI (symbol_ref:DI ("s.0") [flags 0x2] <var_decl
0x7b07497cae40 s>) [2 s+0 S1 A8])
                (asm_operands:QI ("") ("=m") 1 [
                        (reg:DI 0 ax [100])
                        (mem/c:QI (symbol_ref:DI ("s.0") [flags 0x2] <var_decl
0x7b07497cae40 s>) [2 s+0 S1 A8])
                    ]
                     [
                        (asm_input:DI ("0b0") <source>:8)
                        (asm_input:QI ("m") <source>:8)
                    ]
                     [] <source>:8))
            (clobber (reg:CC 17 flags))
        ]) "<source>":8:3 -1
     (nil))
during RTL pass: reload
<source>:11:1: internal compiler error: in extract_constrain_insn, at
recog.cc:2783
0x25f8a85 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x260fa56 internal_error(char const*, ...)
        ???:0
0x9eaa94 fancy_abort(char const*, int, char const*)
        ???:0
0x875e99 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ???:0
0x875ebb _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ???:0
0xf3c629 lra(_IO_FILE*, int)
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1

Reply via email to