From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 432663849AC8; Wed, 8 May 2024 17:06:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 432663849AC8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715187996; bh=IKTKmysTRz7zo3zPE15uMTo2wTJKjkNCbcMHL19Ahb8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YB2shthae7wzVKCC3Ccpxh9LpB5aJq9MJJQmINB8jksRwX8VMCTmoCpsuRIPjR+r/ 6tSV8+o1vYkhrf9wKwcDlLj6LD8BR+QPCDoY3RYPJCeSJd46KccI5/xjc0QMyX9dSK CHPvI/hN73Xjx8po8OQIcCTqsiUHlLcYUC7UaK3s= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2 Date: Wed, 08 May 2024 17:06:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: needs-reduction 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: 15.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone keywords cc component 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=3D114985 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |15.0 Keywords| |needs-reduction CC| |pinskia at gcc dot gnu.org Component|bootstrap |ipa --- Comment #5 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #4) >=20 > If =3D OP_EQUAL is valid gimple, then we sh= ould > change operator_equal::fold_range() to accept all pointer operands. If n= ot, > then we need to change the IPA pass. >=20 > I would appreciate if an IL expert could opine here. `POINTER =3D POINTER CMP POINTER` should be invalid gimple as far as I can = tell. The result of CMP should be a boolean type (except for vector compares wher= e it is a vector boolean type). We have ran into these issues before with pointer types even. I might get some time later today to reduce the testcase too.=