From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD7433858D1E; Fri, 23 Feb 2024 07:36:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD7433858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708673810; bh=+R95qSdbRX7FMv9ovTRGvP3d/UzK43D7fA8KC2dBpro=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZisqbrAupinIH0DNzXvxexWBowpuvVS2zMrJUyvaFoEM2KSEb8JwBHNHorWXxMuRh 0FPwow3A8DpiJqYw9ePw2xFJD0OQ5agsLwWR81MM1KVL7EDvdOqvDqVwnBy0ShL92B U5ng2Hkebwh0b1ahMCet+OZq7c+Bvvg32Y5kCHi0= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114070] [12/13/13 regression] ICE when building git-2.43.2 with -mcpu=niagara4 -fno-vect-cost-model Date: Fri, 23 Feb 2024 07:36:50 +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: rguenth 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: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc cf_gcctarget target_milestone 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=3D114070 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Target| |sparc Target Milestone|--- |12.4 --- Comment #2 from Richard Biener --- /* For vector typed comparisons emit code to generate the desired all-ones or all-zeros mask. */ if (VECTOR_TYPE_P (ops->type)) { tree ifexp =3D build2 (ops->code, ops->type, arg0, arg1); if (VECTOR_BOOLEAN_TYPE_P (ops->type) && expand_vec_cmp_expr_p (TREE_TYPE (arg0), ops->type, ops->code)) return expand_vec_cmp_expr (ops->type, ifexp, target); else gcc_unreachable (); that means we end up with a non-boolean vector "flag". Possibly a middle-e= nd issue indeed.=