From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 46D2B3857C51; Mon, 28 Nov 2022 16:22:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46D2B3857C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669652561; bh=OJ17tYyCI/pthmbYR1io4mdHSvkHrfQkaj7Xe0KkWjk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=paWHD8vH2IofC7HbhPMyQceHCKAl15uI6AuH/YtVjLgxwdGxbdhcuMgQnK5L5j3FW W7T+xzvh3AcBltA6dfBol/I1ispj20i+zGZCuvhuWHPCC0t9eM0KJyzzP56Pyw/myY PgOAtAa+IG0GFNkWa6/IMUwimHmnRvR91j/dpkYc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107896] [13 Regression] ICE in supportable_widening_operation, at tree-vect-stmts.cc:12199 breaking arm bootstrap Date: Mon, 28 Nov 2022 16:22:40 +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: 13.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 13.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=3D107896 --- Comment #1 from Andrew Pinski --- Going backwards: gcc_assert (VECTOR_MODE_P (intermediate_mode)); .. intermediate_mode =3D insn_data[icode1].operand[0].mode; ... if ((icode1 =3D optab_handler (optab1, vec_mode)) =3D=3D CODE_FOR_nothing || (icode2 =3D optab_handler (optab2, vec_mode)) =3D=3D CODE_FOR_not= hing) return false;=