public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112904] New: ICE in extract_insn, at recog.cc:2791 with -mxop since r14-4964-g7eed861e8ca3f5
@ 2023-12-07 12:32 mjires at suse dot cz
  2023-12-07 13:26 ` [Bug target/112904] [14 Regression] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mjires at suse dot cz @ 2023-12-07 12:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112904
           Summary: ICE in extract_insn, at recog.cc:2791 with -mxop since
                    r14-4964-g7eed861e8ca3f5
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mjires at suse dot cz
                CC: liuhongt at gcc dot gnu.org
  Target Milestone: ---

Compiling reduced testcase g++.target/i386/part-vect-vcondhf.C results in ICE
since r14-4964-g7eed861e8ca3f5.

$ cat part-vect-vcondhf.C
typedef _Float16 __attribute__((__vector_size__(8))) __v4hf;
__v4hf cf, df;
__attribute__((__vector_size__(4 * sizeof(short)))) short csf_ne_d;
__v4hf csf_ne() { return csf_ne_d ? cf : df; }


$ g++ part-vect-vcondhf.C -mxop
part-vect-vcondhf.C: In function ‘__v4hf csf_ne()’:
part-vect-vcondhf.C:4:46: error: unrecognizable insn:
    4 | __v4hf csf_ne() { return csf_ne_d ? cf : df; }
      |                                              ^
(insn 10 9 13 2 (set (reg:V4HF 102 [ _6 ])
        (if_then_else:V4HF (subreg:V4HF (reg:V4HI 99 [ _2 ]) 0)
            (reg:V4HF 100 [ cf.1_3 ])
            (reg:V4HF 101 [ df.2_4 ]))) "part-vect-vcondhf.C":4:42 -1
     (nil))
during RTL pass: vregs
part-vect-vcondhf.C:4:46: internal compiler error: in extract_insn, at
recog.cc:2812
0x8da3b4 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/mjires/git/GCC/master/gcc/rtl-error.cc:108
0x8da3d0 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/mjires/git/GCC/master/gcc/rtl-error.cc:116
0x8d88f1 extract_insn(rtx_insn*)
        /home/mjires/git/GCC/master/gcc/recog.cc:2812
0xf77cc0 instantiate_virtual_regs_in_insn
        /home/mjires/git/GCC/master/gcc/function.cc:1611
0xf77cc0 instantiate_virtual_regs
        /home/mjires/git/GCC/master/gcc/function.cc:1994
0xf77cc0 execute
        /home/mjires/git/GCC/master/gcc/function.cc:2041
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.


$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/mjires/built/master/libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/mjires/git/GCC/master/configure
--prefix=/home/mjires/built/master --disable-bootstrap --enable-checking
--enable-languages=c,c++,fortran,lto : (reconfigured)
/home/mjires/git/GCC/master/configure --prefix=/home/mjires/built/master
--disable-bootstrap --enable-checking --enable-languages=c,c++,fortran,lto
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20231207 (experimental) (GCC)

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

end of thread, other threads:[~2023-12-14  7:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07 12:32 [Bug target/112904] New: ICE in extract_insn, at recog.cc:2791 with -mxop since r14-4964-g7eed861e8ca3f5 mjires at suse dot cz
2023-12-07 13:26 ` [Bug target/112904] [14 Regression] " rguenth at gcc dot gnu.org
2023-12-07 20:15 ` pinskia at gcc dot gnu.org
2023-12-08  2:45 ` liuhongt at gcc dot gnu.org
2023-12-11  1:12 ` cvs-commit at gcc dot gnu.org
2023-12-11  1:13 ` liuhongt at gcc dot gnu.org
2023-12-14  7:02 ` cvs-commit 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).