From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id D02CF3858C98; Tue, 5 Mar 2024 21:30:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D02CF3858C98 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D02CF3858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::42f ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709674215; cv=none; b=PT7AzZ8K0IyuNtsA0N59VenHnrQGGFh9eJSXs67tlO6Qk8fRlEwaNfskLR2yHleYexcTS8hlBhtn4yKAue0xvHoShDVPXM+F1u3lWo2evqpDfTwsxEWkb1JcTIG0FzlV5QVPu/q6UzPBtJVJgavJSkWTtmiKCGhXSogLlZp3/Hk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709674215; c=relaxed/simple; bh=uRxIGHfB8t0uhOU85dbnmnrycyaWAnwyHtRz1wZeDFY=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=fhVoAHptRu8lVhP5OizaXizlwqn6pyNBweGN3u5ry7kREOnkxmpSU+V6Q0mArDizxCm3rxEO0amHtOv1Mp50vP6nE9jNVRM9mHqY62HcAY7izo0rVRsq4mLCvBBUjItL8n02bipJBkO1sTLN+PAgh37GaWmP6fZxGrGfkreKtjU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-33d568fbf62so3332333f8f.3; Tue, 05 Mar 2024 13:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709674211; x=1710279011; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=uRxIGHfB8t0uhOU85dbnmnrycyaWAnwyHtRz1wZeDFY=; b=j590xP3ImwtGGMzPHUiR7TYH8N63ks42iegd5CZPO4xEP3DFpzGAzG5B+zvdcJvZJW Psa9mv9J2qMknQCGW34SWMWnXJWE1218/dy1LDk7SwcArLnpRU19gdWYISJMGelr84gm 3VBcx+c1ADDxri38VIGbVMdaI8VUsfr48gNW13r9oputrvXr433Rl/1h1jf/+0QWLZu1 G8X7LBjfpxjPVmVo222kK5Ba5Ozjhb3LH3wUkoEfHcI6OFLRlIfJsX2f/yTqMqDfy0lB 7hA0cCvjHrPGw7RU7NeVN0BaSnWz5qKakDoDFq9emq6T126csJzQirsCaOG8CKbDQKHb ne5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709674211; x=1710279011; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uRxIGHfB8t0uhOU85dbnmnrycyaWAnwyHtRz1wZeDFY=; b=im7VGVSAwlAdlGxkLLzgnguPmNbo8OXOUZPSLxeyKVcWigivUd6iE5hLe1eKmjF9tw TTb5ymX0eAzWP08ptBlK0/Bt8Lx551lkYPJ/C8NrDN2jxXa4kgrgp8hD6O3KvwuU9Ruu aRlRqUMV4eHI33D50Qn+PSpVWTrOFrR5YDxzi1gB8+2/AgLUIGgxd+2Rs0mXwc0U+TXO CeTWi6vuzBfzivorL4eqnC9uSShRfZ/ZKruv3lR6Kkp2HMyBBT0HVQokvP161POrmAk6 T8uPRqqs8NNT1drRe9NtGk1PKakrS77jsg3nwt2/JFbl9kn6Je0vfylBsJosghGbrUXv Fw9A== X-Forwarded-Encrypted: i=1; AJvYcCU2txjRcsCsbYgcoyd169I2wG1N8d4rNayToFhrKH8hx3v3jEen3v6TtmdRbxZRIOj/5uSbEscLFbQOyw4X8sgrr075 X-Gm-Message-State: AOJu0YxVUTTpupivdSPXzrRKvHJ042d2hRpNeCO0EmsucxQPRezHklr6 w0vpPu5VxWFJLvBIUQOVuXoOS9BMa7aS6q/dGG2S2Ch8OcZ64Ab7 X-Google-Smtp-Source: AGHT+IHSKxP2563MK9HBBjxMHTkNXjPrZZ1qAGqYvSr9iup1aSX0xc0GgUSAUX22LL7/3EkP8ZC4Ng== X-Received: by 2002:a5d:46c2:0:b0:33e:3555:bb57 with SMTP id g2-20020a5d46c2000000b0033e3555bb57mr5665963wrs.42.1709674211176; Tue, 05 Mar 2024 13:30:11 -0800 (PST) Received: from ?IPv6:::1? ([2001:4bb8:128:58ea:50e2:d488:db83:933c]) by smtp.gmail.com with ESMTPSA id q16-20020a5d6590000000b0033d56aa4f45sm15889458wru.112.2024.03.05.13.30.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Mar 2024 13:30:10 -0800 (PST) Date: Tue, 05 Mar 2024 22:30:05 +0100 From: rep.dot.nop@gmail.com To: Jerry D , sgk@troutmask.apl.washington.edu, gfortran CC: gcc-patches Subject: =?US-ASCII?Q?Re=3A_=5Bpatch=2C_libgfortran=5D_Part_2=3A_PR10?= =?US-ASCII?Q?5456_Child_I/O_does_not_propage_iostat?= In-Reply-To: <65b13e02-bc1d-4cad-98cc-cf5d6090b742@gmail.com> References: <943c3685-c4d4-4f22-8b65-6336f8770043@gmail.com> <20240229104705.62e46010@nbbrfq.loc> <033ebcdd-6e25-4af7-9012-3338978751d8@gmail.com> <05A1AEE6-6A68-4D4F-8BEA-6E87969E19E7@gmail.com> <65b13e02-bc1d-4cad-98cc-cf5d6090b742@gmail.com> Message-ID: <82739535-0D87-4047-A94E-DBB943F7E09F@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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 5 March 2024 04:15:12 CET, Jerry D wrote: > >Attached is the revised patch using the already available string_len_trim= function=2E > >This hunk is only executed if a user has not passed an iostat or iomsg va= riable in the parent I/O statement and an error is triggered which terminat= es execution of the program=2E In this case, the iomsg string is provided i= n the usual error message in a "processor defined" way=2E > >(F2023): > >12=2E6=2E4=2E8=2E3 Executing defined input/output data transfers >--- >11 If the iostat argument of the defined input/output procedure has a non= zero value when that procedure returns, and the processor therefore termina= tes execution of the program as described in 12=2E11, the processor shall m= ake the value of the iomsg argument available in a processor-dependent mann= er=2E >--- > >OK for trunk? LGTM=2E thanks!