public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104001] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6538-g5f19303ada7db92c155332e7ba317233ca05946b
@ 2022-01-13  9:24 marxin at gcc dot gnu.org
  2022-01-13 10:17 ` [Bug target/104001] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-13  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104001
           Summary: [12 Regression] ICE in extract_insn, at recog.c:2769
                    since
                    r12-6538-g5f19303ada7db92c155332e7ba317233ca05946b
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: haochen.jiang at intel dot com
  Target Milestone: ---

The following crashes:

$ cat math.ii
long select_mask, select_from0, select_from1, bigint_cnd_abs_x_0,
    bigint_cnd_abs_size___trans_tmp_1 =
        select_from0 & select_mask | select_from1 & ~select_mask;

$ g++ math.ii -c -march=znver1 -O2 -fmax-errors=1
math.ii: In function ‘(static initializers for math.ii)’:
math.ii:3:65: error: unrecognizable insn:
    3 |         select_from0 & select_mask | select_from1 & ~select_mask;
      |                                                                 ^
(insn 15 14 0 2 (parallel [
            (set (mem/c:DI (symbol_ref:DI ("bigint_cnd_abs_size___trans_tmp_1")
[flags 0x2] <var_decl 0x7ffff7fb7f30 bigint_cnd_abs_size___trans_tmp_1>) [1
bigint_cnd_abs_size___trans_tmp_1+0 S8 A64])
                (ior:DI (reg:DI 92)
                    (reg:DI 93)))
            (clobber (reg:CC 17 flags))
        ]) "math.ii":3:36 -1
     (expr_list:REG_DEAD (reg:DI 93)
        (expr_list:REG_DEAD (reg:DI 92)
            (expr_list:REG_UNUSED (reg:CC 17 flags)
                (nil)))))
during RTL pass: ira
math.ii:3:65: internal compiler error: in extract_insn, at recog.c:2769
0x218a6a8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:108
0x218a6ca _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:116
0x21584d3 extract_insn(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.c:2769
0x1f4bb13 ira_remove_insn_scratches(rtx_insn*, bool, _IO_FILE*, rtx_def*
(*)(rtx_def*))
        /home/marxin/Programming/gcc/gcc/ira.c:5350
0x1f4cd3e remove_scratches
        /home/marxin/Programming/gcc/gcc/ira.c:5394
0x1f4cd3e ira
        /home/marxin/Programming/gcc/gcc/ira.c:5718
0x1f4cd3e execute
        /home/marxin/Programming/gcc/gcc/ira.c:6077
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] 9+ messages in thread

end of thread, other threads:[~2022-01-15  9:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13  9:24 [Bug target/104001] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6538-g5f19303ada7db92c155332e7ba317233ca05946b marxin at gcc dot gnu.org
2022-01-13 10:17 ` [Bug target/104001] " rguenth at gcc dot gnu.org
2022-01-13 11:48 ` zsojka at seznam dot cz
2022-01-13 12:41 ` crazylht at gmail dot com
2022-01-13 14:34 ` dcb314 at hotmail dot com
2022-01-13 16:14 ` ubizjak at gmail dot com
2022-01-14  5:02 ` cvs-commit at gcc dot gnu.org
2022-01-14  5:03 ` crazylht at gmail dot com
2022-01-15  9:33 ` pinskia 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).