From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 67E063858D3C; Mon, 22 Apr 2024 11:54:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67E063858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713786863; bh=4vSzMSI26T9Jnhwa0ZexahFMqqI6I48mN6BSk6eqEGo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=a8VFzW6s0xeLyYc5MkA+3dMx6jBwv6iwjkjML7WUg0WZyIRtx2XekPvQKdYKpumIG dYovFU1roINK4NdhKa8EnDEcuG7OUuyG006t7eW0638xb9I9bPU0Tt1aSJFqnGBMrM Pu+o9DTacbBmrcRiaq9aN0DHUdwF9mGcTiNOpe/g= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114799] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.cc:85 with -O2 -fno-vect-cost-model since r14-9316 Date: Mon, 22 Apr 2024 11:54:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D114799 --- Comment #5 from Jakub Jelinek --- _10 is created during pattern recognition: patt_10 =3D (unsigned short) y.0_1; #0 vect_convert_input (vinfo=3D0x3a883e0, stmt_info=3D0x3be5410, type=3D, unprom=3D0x7fffffffcc80, vectype=3D, subtype=3Doptab_default) at ../../gcc/tree-vect-patterns.cc:926 #1 0x00000000026dcede in vect_convert_inputs (vinfo=3D0x3a883e0, stmt_info=3D0x3be5410, n=3D2, result=3D0x7fffffffcc50, type=3D, unprom=3D0x7fffffffcc80,=20 vectype=3D, subtype=3Doptab_default) at ../../gcc/tree-vect-patterns.cc:977 #2 0x00000000026e35f5 in vect_recog_over_widening_pattern (vinfo=3D0x3a883= e0, last_stmt_info=3D0x3be5410, type_out=3D0x7fffffffce48) at ../../gcc/tree-vect-patterns.cc:3155 #3 0x00000000026f250a in vect_pattern_recog_1 (vinfo=3D0x3a883e0, recog_func=3D0x385ae30 , stmt_info=3D0x3be541= 0) at ../../gcc/tree-vect-patterns.cc:7181 #4 0x00000000026f29fb in vect_pattern_recog (vinfo=3D0x3a883e0) at ../../gcc/tree-vect-patterns.cc:7338 #5 0x00000000011663ac in vect_slp_analyze_bb_1 (bb_vinfo=3D0x3a883e0, n_st= mts=3D9, fatal=3D@0x7fffffffd2cb: false, Python Exception : There= is no member or method named m_vecpfx. dataref_groups=3D0x7fffffffd760) at ../../gcc/tree-vect-slp.cc:7722 #6 0x00000000011668b6 in vect_slp_region (bbs=3D..., datarefs=3D..., Python Exception : There is no member or method named m_vecpfx. dataref_groups=3D0x7fffffffd760, n_stmts=3D9, orig_loop=3D0x0) at ../../gcc/tree-vect-slp.cc:7831 #7 0x000000000116791f in vect_slp_bbs (bbs=3D..., orig_loop=3D0x0) at ../../gcc/tree-vect-slp.cc:8042 Unfortunately, I'm afraid I know next to nothing about SLP handling of patterns, just loop vectorization :(=