From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.smtpout.orange.fr (smtp-24.smtpout.orange.fr [80.12.242.24]) by sourceware.org (Postfix) with ESMTPS id 619F2385782A; Tue, 30 Jan 2024 10:46:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 619F2385782A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=orange.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=orange.fr ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 619F2385782A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=80.12.242.24 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706611613; cv=none; b=MbrU72xnBUW9x4TCZKMi6bLJmSXaTf7OCgeOSjyOadrqQReMlIl/wx/eYuEwiQzicPZHG1dU/rFs813FZO9J4WAKVMeDX5t1VlL/1aGMuRyt99KFvbqcFXMmxy8bTeF0dNAGWhFHDwzhfk8L99r0SapIjQIz6GE4ZufAjz2FYJs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706611613; c=relaxed/simple; bh=gcbFgByYa74OZ/XDSfS1HBo7lBwG7GDYDpL34rxL6uQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:From:To; b=ZVng/WPxvU30oi6QejzMjaFUNHdx5WoLxzwLnQngKQiV5iTO+3Pn1u+5KzxGBL2Qkxq2qL4tAFJq0w9btOOxWFPlwm6ScK8UF/wRiqOXD2LlTmGGsl8+XFMu7pCB4uD0RbtvnRcVPVc5bGv9eldueOGz2hSMu6mGNPhT+0tKM8w= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [192.168.1.13] ([86.215.161.51]) by smtp.orange.fr with ESMTPA id UldfrtgxkbT1yUldfr6yLB; Tue, 30 Jan 2024 11:46:50 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1706611610; bh=ifMLFbXGArDgXucmWmdYepcTWRDS3yvT0/VJItgLBPk=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=J8l5ZvmV1oxIIhw7c7F/yrfSsS3bJWxTvzl5mmtOR9Sbb8Yn1WCgUEitCZuUpCgD9 Z4W1jAmfR/yLcZWxLl/rW2yVzMi7RJ4fxGf7vrq9T2m7n2R6U/OaXx76QXvdJOQ0o1 vuvLJED9TOoprM/sb1VPttGD8fewh81LHpyymJwYzqk5DxFY4FD97AAXQLp2nyKRv1 qbRgDjt9M5qXOxlgrkHvpYY23ETYhnLvHaNplTtdrUY0bM7G6DKwCcN2i+SXfr5YiP e6NV+KSTgdl5XkDVnSGq9ZfmlJDurqyTjhA87URaQGvwO/Z6eYF3V7NMc/cp9O45a/ O07ZztHvdFjtA== X-ME-Helo: [192.168.1.13] X-ME-Auth: bW9yaW4tbWlrYWVsQG9yYW5nZS5mcg== X-ME-Date: Tue, 30 Jan 2024 11:46:50 +0100 X-ME-IP: 86.215.161.51 Message-ID: <04f84bdb-4589-444a-93af-9e252908da93@orange.fr> Date: Tue, 30 Jan 2024 11:46:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Fortran: use name of array component in runtime error message [PR30802] Content-Language: en-US From: Mikael Morin To: Harald Anlauf , sgk@troutmask.apl.washington.edu Cc: fortran , gcc-patches References: <67c77b44-79cb-4029-b59a-c92dfad15fa9@orange.fr> <86888cc5-3650-4044-b67d-89aab1631753@gmx.de> <70fc4304-74b4-4d8c-8172-9c3286bc9ada@gmx.de> <50f2a7c0-55af-4079-9f6f-41dc6497c234@orange.fr> In-Reply-To: <50f2a7c0-55af-4079-9f6f-41dc6497c234@orange.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 30/01/2024 à 11:38, Mikael Morin a écrit : > > Another (easier) way to clarify the data reference would be rephrasing > the message so that the array part is separate from the scalar part, > like so (there are too many 'of', but I lack inspiration): > Index '0' of dimension 1 of component 'zz' of element from 'x1%vv' > below lower bound of 1 > This has the same number of 'of' but sounds better maybe: Out of bounds accessing component 'zz' of element from 'x1%yy': index '0' of dimension 1 below lower bound of 1