From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.smtpout.orange.fr (smtp-28.smtpout.orange.fr [80.12.242.28]) by sourceware.org (Postfix) with ESMTPS id 6FA313858D28 for ; Wed, 24 May 2023 19:47:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6FA313858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orange.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=orange.fr Received: from [192.168.1.16] ([86.215.161.51]) by smtp.orange.fr with ESMTPA id 1uSLqkox27PLm1uSRqR3Fs; Wed, 24 May 2023 21:47:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1684957659; bh=woh2a/Vd4Lai8ahq87Y1fZfCqevjEnak1muqzaD0xR4=; h=Date:Subject:To:References:From:In-Reply-To; b=X3kUv7yKpOpqgp3CYeCOWAcwhPN7sjDApHnzxS+IewBvbYiws6/g440rRmphqvAWa xnhNCWfNrlT/67vrvc/Z4FyzEv/pEu/xefTMy9oR1MU2IXUcixyeBOiW0k9LftKSAp PRkxZgscfkL3T4eJtvl9W2vK8HpaOp35w9Cas/qBczBuCi701lxOIJhUQLMyATZ6Mt 9tpOvglj8YXTW9Am7qtIZEJI2Fbg1lCO2kvkJdqhrihZBuPeRbR5dBL2T6HF2U7FSh YV9ZIEeLheQSD6ZWwVWIVWWlHcHk0zOClSc+JvKCHQS2n4zD0cbLBdJTlhmXCLjLBf VyhqP09CrPtdA== X-ME-Helo: [192.168.1.16] X-ME-Auth: bW9yaW4tbWlrYWVsQG9yYW5nZS5mcg== X-ME-Date: Wed, 24 May 2023 21:47:39 +0200 X-ME-IP: 86.215.161.51 Message-ID: <828f7156-6628-42d4-d5b4-d927e36ceea3@orange.fr> Date: Wed, 24 May 2023 21:47:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] Fortran: reject bad DIM argument of SIZE intrinsic in simplification [PR104350] To: Harald Anlauf , fortran , gcc-patches References: Content-Language: fr 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.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,JMQ_SPF_NEUTRAL,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Le 24/05/2023 à 21:16, Harald Anlauf via Fortran a écrit : > Dear all, > > the attached almost obvious patch fixes an ICE on invalid that may > occur when we attempt to simplify an initialization expression with > SIZE for an out-of-range DIM argument. Returning gfc_bad_expr > allows for a more graceful error recovery. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > OK, thanks.