From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7465A3858404; Sat, 11 May 2024 09:47:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7465A3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715420874; bh=FEYxEAi+DJ3IVBym5VV6Pgm2nL8A3q7TJWx859WZXyY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fsoeASQ5r/HzLILVtTheODmNl82YdJBHF2Zcnsribvw1cmbIU8qwzOz52s6ErMSRk 8A+V2xoRJS8SwwT9aqTrARd0QBiAbshfZVCQT0K2UPJus+/8wRU6Ndt/INdGm+QccL pejMWLMdCQkFOQgREnxNuAAy7zTg9vJfBYH2MAeE= From: "aldyh 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: Sat, 11 May 2024 09:47:52 +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: aldyh 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: 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 --- Comment #17 from Aldy Hernandez --- (In reply to Martin Jambor from comment #16) > I'll have look, hopefully on Monday. Thanks Martin. To reproduce the problem: 1. Revert this patch: commit d7bb8eaade3cd3aa70715c8567b4d7b08098e699 (master, clean) Author: Aldy Hernandez Date: Fri May 10 00:29:13 2024 +0200 Revert: "Enable prange support." [PR114985] 2. Trap on pointer mismatches: diff --git a/gcc/range-op.cc b/gcc/range-op.cc index 000ec802e66..c14b72c19de 100644 --- a/gcc/range-op.cc +++ b/gcc/range-op.cc @@ -52,7 +52,7 @@ along with GCC; see the file COPYING3. If not see // Set to 1 to trap on range-op entries that cannot handle the pointer // combination being requested. This is a temporary sanity check to // aid in debugging, and will be removed later in the release cycle. -#define TRAP_ON_UNHANDLED_POINTER_OPERATORS 0 +#define TRAP_ON_UNHANDLED_POINTER_OPERATORS 1 // Instantiate the operators which apply to multiple types here. I will also attach a preprocessed file to reproduce the problem on ppc64le = that can save you some time.=