From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7011E3857351; Thu, 29 Sep 2022 20:10:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7011E3857351 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664482214; bh=0nCzg5e87jlo8d5NchWjqPhgYXLp2CquvUMKqE9/31Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aCK0ze1vPSHsXBVz6QmH6pjp5cFzL4vYZPIpDnEHttyrAFcI8haukmlN0B6jZeQem aq5PlMADcrJ/JypwrStj78807u+xx/YskW3OOlDN/jRRHexbR4MKNXjTIrCne1YCqV Uhx2w4WSNwnGLhxl3BOk5DR2mxkkRXWirlm4el/s= 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 20: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: 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 #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 Hmmm, there is gfc_resolve_expr(). I don't know if it is too early in the parsing to use it.=