From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 850723858D28; Sat, 28 Jan 2023 19:26:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 850723858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-x631.google.com with SMTP id z1so468194plg.6; Sat, 28 Jan 2023 11:26:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=mTR2vpZRK6hdhe0fHovLtQfxZMYGZ57rkdj6Zvyk9BY=; b=eHt31TECTo9w2EEdGwuQiZxnJLWKNwIN7rpAjBvpq9+1RxpaTqk1A0Et/YjYICl/Kl F96ckDJBHkqTfJH2UnIYTUdkvLPQn+dnkH8LNRbbawzWpxRpccjvbU4UVqVPzbDYd5pL /6GUsmgkDwxJ0HNo6Bb3gew2BHdffWQ1y/i+cL2Hpa119F+tUDLvz7Q/gg+2lR69GINW NoTE/0cFamuhSnvEOS9/vGmvVJmiHJuQ8uklaFAe/OeBHiSlrBg4+LsrXrTxU8V8Zzq1 ywWmz4DjfiaYs7c4pd7ZCgIqyDsr8ddSGXRDVPqdJxCuDiRTucu8LUCDyjzeSr/Z8EnB jsOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mTR2vpZRK6hdhe0fHovLtQfxZMYGZ57rkdj6Zvyk9BY=; b=pa/p2wKyruKwneV0Zs/Ny5rbHgCdsC9RL8PRSdau749pYPGuiDNtVYCI6x7MeBG11A slL2l1lj3Oo0gDCFlBNBIW1YWE3lCsryEMmwr9wI2vrQAhpJPoGUTwd7ji21e5g90V9a BazzIV/vsUChP1OZJYBYpTczgkDdu2/n5teNRzrvSH8VP18qoE2k0SRmEy9XCoEiwc9S G2RtF/9L14AXwrL3iTEjzpEfRqE6KeCUqfakyQ6grGS09lK9LHllqgTRK2JI1GQ+BFPE uTZH6pWU4al7RSXIeBUQtQAdzKykcydYP4uwDYpC8VU0XkqoM+COyx+mFUoiyg9GdDbt 5guQ== X-Gm-Message-State: AFqh2kr6dFJEDFx8gjJrA58zV5IEE/A0e+KGHy7qkVbBAu3ke+irqUS6 ynVc5GXLwuNa/1nB3Cn7OG8= X-Google-Smtp-Source: AMrXdXtUef37Ih1VFgDvI8OC1dibRLxcxLMFQox6Cnc6lM6bM//3LHLSRXxkum2BroM+9M2BpCRFOw== X-Received: by 2002:a17:902:7041:b0:194:5b98:4342 with SMTP id h1-20020a170902704100b001945b984342mr10718280plt.5.1674933968536; Sat, 28 Jan 2023 11:26:08 -0800 (PST) Received: from [192.168.1.20] ([50.37.188.226]) by smtp.gmail.com with ESMTPSA id z1-20020a1709028f8100b001888cadf8f6sm4863999plo.49.2023.01.28.11.26.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Jan 2023 11:26:08 -0800 (PST) Message-ID: <96e7e25c-7653-2a30-e3e8-21b75bb3f1d3@gmail.com> Date: Sat, 28 Jan 2023 11:26:07 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] Fortran: fix ICE in compare_bound_int [PR108527] To: Harald Anlauf , fortran , gcc-patches References: Content-Language: en-US From: Jerry D In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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: On 1/24/23 1:48 PM, Harald Anlauf via Fortran wrote: > Dear all, > > when checking expressions for array sections, we need to ensure > that these use only type INTEGER. However, it does not make sense > to generate an internal error when encountering wrong types, > but rather take the ordinary route of error recovery. > > The initial fix was provided by Steve. > > While working on the same PR, I found that the comments related > to the logic needed a minor adjustment, and the logic could be > cleaned up to actually match the intended comment. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > > Thanks, > Harald > Harald, this looks OK to me. Good for Mainline.