From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by sourceware.org (Postfix) with ESMTPS id 20A4F386F018; Tue, 16 Feb 2021 12:09:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 20A4F386F018 Received: by mail-lj1-x232.google.com with SMTP id j6so11426165ljo.5; Tue, 16 Feb 2021 04:09:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VL3KNwGDV/ST1Pg+yK0yix6wwZ8QUdhdDyYA6cq+C8E=; b=iScgCxMV3vsSNUdKGlFEDtyTlxKGCI9MRI1pcveyNx/MS+Onv9wV8bnl+hr5PLVRj2 vfiXtdQM018bDoXmOkOejI3YVtbJ/EB9DmhSUYkG6L0P8TrTtIF4YU/uRPOtWl76CCJ1 uWBTgD7L9zCZL1axn5kTQaoXLrE14xUMDP4f9/ZEhjndSreOSi1Aj92RiOhmFWKTDjtk eUgXsmIS6gqNJ/epSTuUK1C1a0V7em67tpNBqb20t5Zno9RMyyClBbkhSgDcqovS/HzR grP69rEeMcixOqSts/xKN6PvKfyxJW6jkf4DtIBbVTWmVEsb7qaUU+sGYdmoTMtq3bII /o3Q== X-Gm-Message-State: AOAM531ipiXhPzXCYX0smPGaas3s274pM3+oOr/sNfHmHtLqXQ9RqSwI oQztrfQnW7SLEi20FWTT98Qbn5tb4rDflFEpv4kGWvYwJow= X-Google-Smtp-Source: ABdhPJx99klRrX3ep2zNQjDX74EA6zIJsGM6G1h1cZh9hvnJAjNjOSVNLk8mbMob+3gSDFCVHkzDN7hHlXrXeamBR28= X-Received: by 2002:a2e:99ca:: with SMTP id l10mr12134092ljj.259.1613477390732; Tue, 16 Feb 2021 04:09:50 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Paul Richard Thomas Date: Tue, 16 Feb 2021 12:09:39 +0000 Message-ID: Subject: Re: [Patch] Fortran: Reject DT as fmt in I/O statments [PR99111] To: Tobias Burnus Cc: gcc-patches , fortran X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 12:09:53 -0000 Hi Tobias, The fix and the message are just fine for me. I am trying to imagine how few people will ever encounter this! OK for 10- and 11-branches Thanks Paul On Tue, 16 Feb 2021 at 11:28, Tobias Burnus wrote= : > GCC started to accept as legacy extension array-valued > non-characters, which works for integer (+ real/logical). > > Some other =E2=80=93 mostly unrelated patch regarding resolving > array constructors (r10-5607-gde89b5748d68b76b, PR92996) > turned this into an ICE. > > While it might be in theory fixable for derived types, > just rejecting DT + CLASS + c_(fun)ptr makes more sense. > > I am not quite sure about the error-message wording. > Better suggestions? In the 'rank > 0' branch, Hollerith > should not occur and (as legacy extension) integer etc. > are permitted. =E2=80=94 Thoughts? > > Otherwise: OK for GCC 11 and GCC 10? > (ICE is new in GCC 10.) > > Tobias > > ----------------- > Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 M=C3=BCnchen > Registergericht M=C3=BCnchen HRB 106955, Gesch=C3=A4ftsf=C3=BChrer: Thoma= s Heurung, Frank > Th=C3=BCrauf > --=20 "If you can't explain it simply, you don't understand it well enough" - Albert Einstein