From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.smtpout.orange.fr (smtp-13.smtpout.orange.fr [80.12.242.13]) by sourceware.org (Postfix) with ESMTPS id 7074A3858D39 for ; Tue, 11 Oct 2022 20:12:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7074A3858D39 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.17] ([86.215.174.255]) by smtp.orange.fr with ESMTPA id iLbnoxfnOBDYDiLc0ofmXD; Tue, 11 Oct 2022 22:12:25 +0200 X-ME-Helo: [192.168.1.17] X-ME-Auth: bW9yaW4tbWlrYWVsQG9yYW5nZS5mcg== X-ME-Date: Tue, 11 Oct 2022 22:12:25 +0200 X-ME-IP: 86.215.174.255 Message-ID: <891de695-cf3f-edbb-051e-99350e6beea3@orange.fr> Date: Tue, 11 Oct 2022 22:12:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] Fortran: check types of source expressions before conversion [PR107215] 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=-5.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham 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 11/10/2022 à 20:47, Harald Anlauf via Fortran a écrit : > Dear all, > > this PR is an obvious followup to PR107000, where invalid > types appeared in array constructors and lead to an ICE > either in a conversion or reduction of a unary or binary > expression. > > The present PR shows that several other conversions need to > be protected by a check of the type of the source expression. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > OK, thanks.