From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 03F113857375; Wed, 5 Oct 2022 16:10:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03F113857375 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664986220; bh=gtBv3IxO7pcQtt0bmQQDwdEAzxrRIsW+YkUKeNBWlrQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LPTIMqJttP5F2quap3NOVOKcY3ef939Md50dpQ0Gfrx6lcEq+vrpFk2UJG40OB8O1 XabkVcXtU+x2Hh9j/pNu/CEufJmuRlCKHj1w0IdIta1Px5MllIFuLKCf/bg1XnOkBJ FX2CTsTgKmVG7qK1zKEpNberZ9MY0aPLfDm2+ibs= From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243 Date: Wed, 05 Oct 2022 16:10:14 +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: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: anlauf 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=3D107000 --- Comment #22 from Steve Kargl = --- On Tue, Oct 04, 2022 at 09:20:33PM +0000, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107000 >=20 > --- Comment #21 from anlauf at gcc dot gnu.org --- > Submitted: https://gcc.gnu.org/pipermail/fortran/2022-October/058280.html >=20 Thanks Harald! In looking at the patch, there is a=20 gcc_assert (op1->ts.type !=3D BT_UNKNOWN); in reduce_binary_ac() near line 1334 and gcc_assert (op2->ts.type !=3D BT_UNKNOWN); in reduce_binary_ca() near line 1386 that I think can go away.=