public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111939] New: ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*vec_extractv2di_1} with -Ofast -mapxf -mabi=ms -mavxifma -mno-avx
@ 2023-10-23 17:08 zsojka at seznam dot cz
  2023-12-06 19:06 ` [Bug target/111939] " jakub at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2023-10-23 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111939
           Summary: ICE: in extract_constrain_insn, at recog.cc:2692 insn
                    does not satisfy its constraints: {*vec_extractv2di_1}
                    with -Ofast -mapxf -mabi=ms -mavxifma -mno-avx
           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: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -Ofast -mapxf -mabi=ms -mavxifma -mno-avx testcase.c
testcase.c: In function 'foo0':
testcase.c:18:1: error: insn does not satisfy its constraints:
   18 | }
      | ^
(insn 90 89 24 2 (set (reg:DI 77 r17 [ _8+8 ])
        (vec_select:DI (reg:V2DI 20 xmm0 [172])
            (parallel [
                    (const_int 1 [0x1])
                ]))) "testcase.c":13:18 7389 {*vec_extractv2di_1}
     (expr_list:REG_DEAD (reg:V2DI 20 xmm0 [172])
        (nil)))
during RTL pass: cprop_hardreg
testcase.c:18:1: internal compiler error: in extract_constrain_insn, at
recog.cc:2692
0x7efe99 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:108
0x7eff20 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:118
0x7e0676 extract_constrain_insn(rtx_insn*)
        /repo/gcc-trunk/gcc/recog.cc:2692
0x142102b copyprop_hardreg_forward_1
        /repo/gcc-trunk/gcc/regcprop.cc:836
0x1422424 execute
        /repo/gcc-trunk/gcc/regcprop.cc:1423
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.

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r14-4866-20231023153002-g458db9b6149-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r14-4866-20231023153002-g458db9b6149-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20231023 (experimental) (GCC)

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

* [Bug target/111939] ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*vec_extractv2di_1} with -Ofast -mapxf -mabi=ms -mavxifma -mno-avx
  2023-10-23 17:08 [Bug target/111939] New: ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*vec_extractv2di_1} with -Ofast -mapxf -mabi=ms -mavxifma -mno-avx zsojka at seznam dot cz
@ 2023-12-06 19:06 ` jakub at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-12-06 19:06 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This has been fixed by r14-5242-gca281a7b97163273de9d73da556fb3f6dcc3b61b
already.

*** This bug has been marked as a duplicate of bug 112394 ***

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

end of thread, other threads:[~2023-12-06 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 17:08 [Bug target/111939] New: ICE: in extract_constrain_insn, at recog.cc:2692 insn does not satisfy its constraints: {*vec_extractv2di_1} with -Ofast -mapxf -mabi=ms -mavxifma -mno-avx zsojka at seznam dot cz
2023-12-06 19:06 ` [Bug target/111939] " jakub 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).