From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39243 invoked by alias); 24 Feb 2020 14:34:12 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 39224 invoked by uid 89); 24 Feb 2020 14:34:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: cc-smtpout1.netcologne.de Received: from cc-smtpout1.netcologne.de (HELO cc-smtpout1.netcologne.de) (89.1.8.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Feb 2020 14:34:11 +0000 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id 784EF131B6; Mon, 24 Feb 2020 15:34:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=netcologne.de; s=nc1116a; t=1582554848; bh=GlEP3VmHOYfKeDMi2px6MF0aUnODqL8WUG03d9SMvrk=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To:From; b=UvPsuENu5m4hMKmDKgCF6Xqpy7a7bMsfjfWGgQQNTWraQqL7vJYAdEKEYbsjAuY1Z dxq6TMnVQ008q6mpSksH3+PI3w2tYzAkhR6Ll9QrKcSPpuLuPEadS81AHUUsEIDv3M 7GfXdRS/nb6pFlPVLO8DGnnQwOY47u9epcvsmAIFC+oil/xjksIy/gNa+mxRnqfLvC 3QW1V5n8n1A22keOBqzGAFXAD1jN2xD+Qb+DODENf3JXJqdRk0BOhxsQTGZgPIGNrX Z0TVHDE5yDuAdpQuY6p6pANNUm5bqSgwnwu0jLWUotDA+MDzHfZb478AWUXeqexz0l C9PiWIN4sF53w== Received: from localhost (localhost [127.0.0.1]) by cc-smtpin1.netcologne.de (Postfix) with ESMTP id 74F5011D83; Mon, 24 Feb 2020 15:34:08 +0100 (CET) Received: from [2001:4dd4:f288:0:80a7:a6a4:600d:f490] (helo=cc-smtpin1.netcologne.de) by localhost with ESMTP (eXpurgate 4.11.6) (envelope-from ) id 5e53dee0-45d8-7f0000012729-7f000001e4be-1 for ; Mon, 24 Feb 2020 15:34:08 +0100 Received: from linux-p51k.fritz.box (2001-4dd4-f288-0-80a7-a6a4-600d-f490.ipv6dyn.netcologne.de [IPv6:2001:4dd4:f288:0:80a7:a6a4:600d:f490]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA; Mon, 24 Feb 2020 15:34:04 +0100 (CET) Subject: Re: [PATCH] fortran: ICE using undeclared symbol in array constructor, PR93484 To: Mark Eggleston , sgk@troutmask.apl.washington.edu Cc: gcc-patches , fortran References: <20200211152305.GB77655@troutmask.apl.washington.edu> From: Thomas Koenig Message-ID: <37db0f3c-6f16-1bc2-9311-e52cfe150497@netcologne.de> Date: Mon, 24 Feb 2020 14:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2020-02/txt/msg01310.txt.bz2 Hi Mark, >> Might need >> >>          gfc_reduce_init_expr (e); >> >> here.  The kind type parameter should be a constant expression. > > Not needed. I've also checked use of the kind argument, it is evidently > checked elsewhere: if k is allowed to be implicitly declared and is used > as the kind argument errors are reported that it is not a constant, if > implicit declaration is not allowed a "has no IMPLICIT type" error is > produced. Is there a test case that covers this already? OK if such a test case exists, also OK with such a test case (or if looking for it is too bother :-) Regards Thomas