From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4CF853858D39; Fri, 3 Nov 2023 08:20:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4CF853858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698999603; bh=SCd2JVCqRVuZ/GyHsNIQqPlKC0hRjHpXtU7hy+BeYbQ=; h=From:To:Subject:Date:From; b=wqx3+Q67kMKBabNpB7NJD5SSu9AGfuiygobV04X5xMTeZK4ASNQuhRWnyopxE38uZ jU6hdDUIsC6iR9R8qK/ydPbPvZEoWiihE53l5htzy/a7jydKB5YoqHjpJOSOw+wSBC HR4tvzb5OPYaJPXDxp5JvciwXW7WZNYZIv1BLz+o= From: "lehua.ding at rivai dot ai" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112366] New: ICE in vectorizable_live_operation, at tree-vect-loop.cc:10798 Date: Fri, 03 Nov 2023 08:20:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lehua.ding at rivai dot ai X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112366 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=3D56499&action=3Dedit sm3.i Compiler command to reproduce the ICE: riscv64-unknown-elf-gcc -O3 -fno-vect-cost-model --param=3Driscv-autovec-preference=3Dfixed-vlmax -march=3Drv64gcv_zknd_zkne_zknh_zksed_zksh_zbkb -mabi=3Dlp64d 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*) ../../../../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 for instructions.=