public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/112366] New: ICE in vectorizable_live_operation, at tree-vect-loop.cc:10798
@ 2023-11-03  8:20 lehua.ding at rivai dot ai
  2023-11-03  8:33 ` [Bug tree-optimization/112366] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: lehua.ding at rivai dot ai @ 2023-11-03  8:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112366
           Summary: ICE in vectorizable_live_operation, at
                    tree-vect-loop.cc:10798
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lehua.ding at rivai dot ai
  Target Milestone: ---

Created attachment 56499
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56499&action=edit
sm3.i

Compiler command to reproduce the ICE: riscv64-unknown-elf-gcc -O3
-fno-vect-cost-model --param=riscv-autovec-preference=fixed-vlmax
-march=rv64gcv_zknd_zkne_zknh_zksed_zksh_zbkb -mabi=lp64d sm3.i -S

ICE:
during GIMPLE pass: slp
sm3/zscrypto_rv64/sm3.c: In function 'sm3_compress':
sm3/zscrypto_rv64/sm3.c:56:6: internal compiler error: in
vectorizable_live_operation, at tree-vect-loop.cc:10798
   56 | void sm3_compress(uint32_t s[24]) {
      |      ^~~~~~~~~~~~
0x143f0b2 vectorizable_live_operation(vec_info*, _stmt_vec_info*, _slp_tree*,
_slp_instance*, int, bool, vec<stmt_info_for_cost, va_heap, vl_ptr>*)
        ../../../../gcc/gcc/tree-vect-loop.cc:10795
0x23f1c23 can_vectorize_live_stmts
        ../../../../gcc/gcc/tree-vect-stmts.cc:12728
0x2424909 vect_transform_stmt(vec_info*, _stmt_vec_info*,
gimple_stmt_iterator*, _slp_tree*, _slp_instance*)
        ../../../../gcc/gcc/tree-vect-stmts.cc:13129
0x1464c02 vect_schedule_slp_node
        ../../../../gcc/gcc/tree-vect-slp.cc:9216
0x147c886 vect_schedule_scc
        ../../../../gcc/gcc/tree-vect-slp.cc:9451
0x147cdb6 vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap, vl_ptr>
const&)
        ../../../../gcc/gcc/tree-vect-slp.cc:9596
0x147f3ee vect_slp_region
        ../../../../gcc/gcc/tree-vect-slp.cc:7751
0x1480c2d vect_slp_bbs
        ../../../../gcc/gcc/tree-vect-slp.cc:7851
0x148137b vect_slp_function(function*)
        ../../../../gcc/gcc/tree-vect-slp.cc:7973
0x148d646 execute
        ../../../../gcc/gcc/tree-vectorizer.cc:1531
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.

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

end of thread, other threads:[~2023-11-03 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03  8:20 [Bug middle-end/112366] New: ICE in vectorizable_live_operation, at tree-vect-loop.cc:10798 lehua.ding at rivai dot ai
2023-11-03  8:33 ` [Bug tree-optimization/112366] " rguenth at gcc dot gnu.org
2023-11-03 10:18 ` rguenth at gcc dot gnu.org
2023-11-03 10:30 ` rguenth at gcc dot gnu.org
2023-11-03 11:01 ` cvs-commit at gcc dot gnu.org
2023-11-03 11:02 ` rguenth 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).