From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by sourceware.org (Postfix) with ESMTPS id EFBAF3858003 for ; Wed, 9 Feb 2022 20:38:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EFBAF3858003 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orange.fr Authentication-Results: sourceware.org; spf=none smtp.mailfrom=orange.fr Received: from [192.168.1.17] ([86.253.179.215]) by smtp.orange.fr with ESMTPA id HtjAnh3EN0Z1CHtjYnHo4R; Wed, 09 Feb 2022 21:38:37 +0100 X-ME-Helo: [192.168.1.17] X-ME-Auth: MDU4MTIxYWM4YWI0ZGE4ZTUwZWZmNTExZmI2ZWZlMThkM2ZhYiE5OWRkOGM= X-ME-Date: Wed, 09 Feb 2022 21:38:37 +0100 X-ME-IP: 86.253.179.215 Message-ID: <4c37f0b1-1be5-4869-cbee-fce7d4bb6a5e@orange.fr> Date: Wed, 9 Feb 2022 21:38:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH] PR fortran/66193 - ICE for initialisation of some non-zero-sized arrays Content-Language: en-US To: Harald Anlauf , fortran , gcc-patches References: From: Mikael Morin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: Wed, 09 Feb 2022 20:38:40 -0000 Hello Le 06/02/2022 à 22:14, Harald Anlauf via Fortran a écrit : > Dear Fortranners, > > some instances of valid constant array constructors did lead to ICEs. > It turned out that on the one hand we need to attempt simplification of > elements of the constructor, especially when we encounter parenthesized > expression. On the other hand the occurence of type specs and empty > constructors need to be handled more gracefully. > > Parts of the PR have been fixed previously, so the remaining part was > rather simple. > > The testcase is based on Gerhards latest example attached to the PR. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > OK. > Given the simplicity of the patch and that it is an ICE on valid code, > would this qualify for later application to 11-branch? > I suppose it does. Thanks.