From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89321 invoked by alias); 2 Mar 2019 15:17:33 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 89286 invoked by uid 89); 2 Mar 2019 15:17:32 -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.2 spammy=check.c, UD:check.c, sk:gfc_cal, adjusted X-HELO: cc-smtpout3.netcologne.de Received: from cc-smtpout3.netcologne.de (HELO cc-smtpout3.netcologne.de) (89.1.8.213) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 02 Mar 2019 15:17:31 +0000 Received: from cc-smtpin2.netcologne.de (cc-smtpin2.netcologne.de [89.1.8.202]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id 94D8512718; Sat, 2 Mar 2019 16:17:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=netcologne.de; s=nc1116a; t=1551539847; bh=FI8+Z2Tiwkzg1ceCh7Qz/pyRfa+p1K7N92OezX4Znuc=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To:From; b=Shy6/pdzWXr67/LD501XdPJaXaHnUWu3hn/3ymeMRKureVCG7Bw4zUg4XwudvsdRs wwS6T8jnYRPNePWWOZ7R6Tn+zJkYmTD9tB0LSMjnJKWfrtD9ZY8iod3q8ron8aGXTg Q4zENB9mPf/Ebh54ez4x9zg+GbYi9F83XxgPxEuMKQzFIVLNl3iT+uXunzfiL2JPke yFqF5ZB1bFM3IUYEvVhl/3jLlri7SBjVG8KZJn+IC45KmPblehtT0H7Eh/A3qmECvY zoW40Han95hfVUubfVlm74LPZxFT52yFmVrJjRE70RbJj9rUqwYITVSuYKS8xMF3o1 cUmdgvE3V/OSA== Received: from localhost (localhost [127.0.0.1]) by cc-smtpin2.netcologne.de (Postfix) with ESMTP id 9061111ED7; Sat, 2 Mar 2019 16:17:27 +0100 (CET) Received: from [2001:4dd7:50c3:0:7285:c2ff:fe6c:992d] (helo=cc-smtpin2.netcologne.de) by localhost with ESMTP (eXpurgate 4.6.0) (envelope-from ) id 5c7a9e87-01b0-7f0000012729-7f0000018624-1 for ; Sat, 02 Mar 2019 16:17:27 +0100 Received: from [IPv6:2001:4dd7:50c3:0:7285:c2ff:fe6c:992d] (2001-4dd7-50c3-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de [IPv6:2001:4dd7:50c3:0:7285:c2ff:fe6c:992d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin2.netcologne.de (Postfix) with ESMTPSA; Sat, 2 Mar 2019 16:17:24 +0100 (CET) Subject: Re: [PR fortran/89516, patch] - ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506 To: Harald Anlauf , gfortran , gcc-patches References: <5C771331.4000909@gmx.de> From: Thomas Koenig Message-ID: Date: Sat, 02 Mar 2019 15:17:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <5C771331.4000909@gmx.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2019-03/txt/msg00011.txt.bz2 Hi Harald, > Adding -Wsurprising as option to gfortran exercised a code path > that I hadn't seen when working on simplifications for the TRANSFER > intrinsic. While regtesting, I realized that one of the checks was > too strict when the MOLD argument was scalar and of size 0 and should > only apply to array arguments. I adjusted the corresponding testcase. > > Regtested on x86_64-pc-linux-gnu. > > OK for trunk? OK. Thanks for the patch! Regards Thomas