From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 004A53857354; Thu, 29 Sep 2022 21:13:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 004A53857354 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664486017; bh=pL2pJKJC2YfPucxgb1hGkAv5OLMahTHIXMhu6sZQH6c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CMWlURmApk7N4gOaHGEPKvh5/yLbRl9Nd4+39vK38Uwk0+EvFj0s2X6NB6bph4Lf+ C2JxETqPPFHKSWpAVAFaA/t6hgbzyF6xGec1G/kO15d5ly8kAUlXOCGft52HpNVSHp FZUiHTPbUs/s6IpSm2LeRA8rrc89jCB2KPotkP0o= 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: Thu, 29 Sep 2022 21:13:36 +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: 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=3D107000 --- Comment #12 from Steve Kargl = --- On Thu, Sep 29, 2022 at 08:10:14PM +0000, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107000 >=20 > --- Comment #11 from Steve Kargl --- > On Thu, Sep 29, 2022 at 07:57:24PM +0000, anlauf at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107000 > >=20 > > --- Comment #10 from anlauf at gcc dot gnu.org --- > > (In reply to kargl from comment #9) > > > This catches the parenthesis. > >=20 > > ... but it is still not sufficient to handle ugly stuff like: > >=20 > > print *, [real :: 1, +(+(.true.))] * 2 > >=20 >=20 > Hmmm, there is gfc_resolve_expr(). I don't know if it > is too early in the parsing to use it. gfc_resolve_expr() does not help. :(=