From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 846D33858D28; Tue, 24 Jan 2023 19:32:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 846D33858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674588728; bh=g6TKImjxRU43p7no0tpM7Kb9rUJDI2qu+QNLwdreBLs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NQMdZQUC7pvQygpAnDYXeEQdgm8MApaoUC6ly03pTv28ruy40OcLanFzXIq1eZqng NnOpgXcisNBncHQwwdDx+02v+Zb64dqLw7j7a2VXss7MPWILaxuVt6CeFK9i8T13Nn ULB7Hx8ZKHxN6jADREj4y1KZ857T+6MW2JMl3L/8= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/108527] [13 Regression] ICE in compare_bound_int(): Bad expression Date: Tue, 24 Jan 2023 19:32:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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: --- 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=3D108527 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #2) > This fixes all testcases. These two helper functions can indicate > a problem occurs, so instead of asserting on (a->ts.type !=3D BT_INTEGER) > return the CMP_UNKNOWN condition. This does give a few run-on=20 > errors. Indeed, this is better and more general.=