From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 847473856262; Thu, 5 Oct 2023 17:49:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 847473856262 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696528189; bh=/lZGoyDL0QsQxKQVwB1qA/052+fPIxKJLzqK6KDcnW0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TfvqWi2ngaN8K+d6l/phoM9+R+OcBEyxl10UXhvUAQm+Qt8hdZ33WRZ2MGcrmt+64 ioYJRzZVgiIflv/iC79MjxIaAN2ZiK65Rb9cj42PuOc4UZge8qmnrXxg61RBWOMovv jFaV0Q95dvD1+VJXbpv2g/Ow65da7z2cvQDywx3w= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111699] [14 Regression] ICE: SIGSEGV: infinite recursion in fold_build3_loc/fold_ternary_loc/generic_simplify_VEC_COND_EXPR Date: Thu, 05 Oct 2023 17:49:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end 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: keywords 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=3D111699 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection | --- Comment #3 from Andrew Pinski --- this was exposed by my commit (r14-3350-g47b833a9abe1) which added: /* Likewise for view_convert of nop_conversions. */ (simplify (view_convert (vec_cond:s @0 @1 @2)) (if (VECTOR_TYPE_P (type) && VECTOR_TYPE_P (TREE_TYPE (@1)) && known_eq (TYPE_VECTOR_SUBPARTS (type), TYPE_VECTOR_SUBPARTS (TREE_TYPE (@1))) && tree_nop_conversion_p (TREE_TYPE (type), TREE_TYPE (TREE_TYPE (@1)= ))) (vec_cond @0 (view_convert! @1) (view_convert! @2)))) Before we have a VIEW_CONVERT around the vec_cond which prevented the infin= ite loop but now we don't ...=