From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 02261385828D; Fri, 3 Feb 2023 08:04:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02261385828D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675411457; bh=nUE+TRozgwJG/rP1jmzUYcMlowATZP4taklTCdx62zE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Y5iAQMfpbnhAGGjEZUPlnnxWyFSL15RtYBhDa0IyLqT8CzKwTkPgBXqveI9fsXC9h 5kTof4l6Wsmacqr3GTWPGEvOJ1JQUKvFTCeStNv4orzG6UAkns4YWRBYay+au6QmUS 0/Q2v0Zrimk6nhOAIz+E7GqN2VUEr1hI39QV4qmA= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108647] [13 Regression] ICE in upper_bound, at value-range.h:950 with -O3 Date: Fri, 03 Feb 2023 08:04:16 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on bug_status priority everconfirmed cc 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=3D108647 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-02-03 Status|UNCONFIRMED |NEW Priority|P3 |P1 Ever confirmed|0 |1 CC| |amacleod at redhat dot com --- Comment #1 from Richard Biener --- Confirmed. We have VR_UNDEFINED as other_op in #4 0x00000000030c3df4 in gori_compute::refine_using_relation (this=3D0x490= b310,=20 op1=3D, op1_range=3D...,=20 op2=3D, op2_range=3D..., src=3D..., k=3DVRE= L_LT) at /home/rguenther/src/trunk/gcc/gimple-range-gori.cc:1034 1034 if (!op_handler.op2_range (new_result, type, (gdb) l 1029 src.get_operand (other_op, def_op1); 1030 1031 // Using op1_range as the LHS, and relation REL, evaluate op2. 1032 tree type =3D TREE_TYPE (def_op2); 1033 Value_Range new_result (type); 1034 if (!op_handler.op2_range (new_result, type, 1035 op1_def_p ? op1_range : op2_range, 1036 other_op, relation_trio::lhs_op2 (= k))) must be a quite recent regression.=