From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0408A3858CD1; Tue, 5 Mar 2024 05:41:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0408A3858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709617299; bh=mjNYqCSRIafdW4iOvZ4qkFdWjrwwn9wKlLMg3rY72S4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nkhxrMftcTqEv//uAheyKHWS2xNszAQ1cRXRAyZ/ntHzqUrEVcI1TpT8XLArF1lwL QTPNef6ZcwQ2FwJtrwpWzyZKvaTF4ilau7GU/jC+ybMoEjcXOCOBm2JgfQUHE02++3 7uUtl/gvsEh9r7rSYxy0tegZdEkfYa3qfO8eBl+U= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114231] [14 regression] ICE when building libjxl Date: Tue, 05 Mar 2024 05:41:38 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 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=3D114231 --- Comment #5 from Andrew Pinski --- Little more reduced: ``` void f(long*); int ff[2]; void f1(long, long); void k(unsigned long x, unsigned long y) { long t =3D x >> ff[0]; long t1 =3D ff[1]; unsigned long t2 =3D y >> ff[0]; long t3 =3D t+t2 ? t2 : 0; f1(t1, t3); } ``` /app/example.cpp:9:14: missed: unusable type for last operand in vector/vec= tor shift/rotate. Note if you change the type of ff to long, this works.=