From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 8BA7E3858D1E for ; Tue, 18 Apr 2023 16:07:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8BA7E3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wm1-x334.google.com with SMTP id gw13so15798146wmb.3 for ; Tue, 18 Apr 2023 09:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1681834064; x=1684426064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=g3RzrWTyArErOYnLErA+H4ENUN2HVZaZUbAHnUv26so=; b=cXeYIJpsY16aMVkUzuh6Kd8RjFY9V4jE6EzYB5PG3uRVQ50jK7IOnyz/Xe+yY+oqKM NANm32WlwonqQByzPMOs6taU5L8I64RWG5UxGmIy3KWNxY0/pF/6fbLHFYcDA+uuthwT y2E0bx4kOsMihBZSTYpGVbQIhA4GnyrUuugvqVeTpYBLqq4Thgx54DMz/dgRd2bob2V3 gMItf1wgDj0OiZ6XdWdUliC8Kmjt9bb/XDskAVMhd7iF41kVqxvgOhGOhch725Dvrjp3 a5NFbvuWFCR6t9+lFAhyJMEa6p/W4eDuSi3074KRSjDfikHC8gEALbchFRTDn6yiyg2q dARA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681834064; x=1684426064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g3RzrWTyArErOYnLErA+H4ENUN2HVZaZUbAHnUv26so=; b=bwQ9ZQW5TkV1yZTViGXhCuSBM/Sjl1+4k+c5D3ahtuHUOzmQHsN0jOScvf/2TpxW2O njuzzy/43bloez5HQYxX/OAZ55q43v5EJitIzgmfaFiBy4ly/05e8Rkq+GfFmngDcwz/ glcSYcP/hpVXxA94eCH9PoZlmwfuLzOj3DhOoYHtsIHFsitoVYp8Iw3QzgK107noSfqY gEKbJJBhAKxIfPghcmxgrbwHEn1Mw4XMTFCQuZyApaMNA8OcKNTjh3vEFwXxAtZWXNi7 NsJMsw7DF6hPQcLiV+BpbELuAYbEZsgHNllvkC99TFyW4yLo7tbro0f9Kx/806y+lDyX AAfw== X-Gm-Message-State: AAQBX9dLHQ4uTDaqxA/EHDUcqVIS/xK1mRTNVYc2scJngvvpRLV+4cIu DvfAnGoVs+y1mLiM/SP61YxCvQ== X-Google-Smtp-Source: AKy350ZOR4+5AUy8rn2WiIhbT9oTpXA9y7n7K7jqey6v4HXKcwKM5u3AvhrwHCuuv/g0pU6FBb738w== X-Received: by 2002:a1c:7206:0:b0:3f1:6980:2cfe with SMTP id n6-20020a1c7206000000b003f169802cfemr8767189wmc.12.1681834064256; Tue, 18 Apr 2023 09:07:44 -0700 (PDT) Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp.gmail.com with ESMTPSA id e7-20020a5d5947000000b002fc0de07930sm2540096wri.13.2023.04.18.09.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 09:07:43 -0700 (PDT) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: Hans-Peter Nilsson Cc: Jeff Law , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] reload: Handle generating reloads that also clobbers flags Date: Tue, 18 Apr 2023 18:07:43 +0200 Message-ID: <2140218.irdbgypaU6@fomalhaut> In-Reply-To: <20230418141217.CF9FF203FA@pchp3.se.axis.com> References: <20230215153432.0663D2042E@pchp3.se.axis.com> <37af8f44-3189-2371-fd50-6c201c339260@gmail.com> <20230418141217.CF9FF203FA@pchp3.se.axis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: > That "supposed to" is only *one* possible implementation. > The one in CRIS - and I believe the preferred one; one I > should advocate more - is to *always* expose clobbering of > the flags. Yes, both approaches are acceptable IMO and should work. -- Eric Botcazou