From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dellerweb.de (unknown [IPv6:2a02:c207:3003:236::1]) by sourceware.org (Postfix) with ESMTPS id 08D3C3858D37 for ; Sun, 17 Mar 2024 16:42:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 08D3C3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 08D3C3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:c207:3003:236::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710693773; cv=none; b=lH9qvfldGe25T0FXu50brg/EnsQfKLdJgz2a6uTersdRsmTM58LF5EChA3aScRuyWBHqyx473CqpWEA7X0Kjp5+wROq5G0BIEqQ6EWEyFxKprSKmYDOku5UUIEL83iTIDqrsuQbJsAe4gO+UIe5hKMxqZaflTnigf87MM/rrF4k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710693773; c=relaxed/simple; bh=gOSjzg33lYpZUDUdwqMmRMgUybrkAraAbHknJaZv26g=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=bu1JWfmM8KpvRFljDVQwVYg1RKYLEfNTWeQO0wIPloBGeOOC52IN7taCt/aVTXJIDrXyMssHQFM5Q30lf8g0Vax6icYUx+8pggkY31gJiqB38apsYf6DIOd02DUk+y5IbGQHyU2Nxsc4W84JtVsh822CU4bWXDl2k5VUCAbKCzA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.188.251]) by dellerweb.de (Postfix) with ESMTPSA id A2A591600245; Sun, 17 Mar 2024 17:42:48 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id CAB9622011C; Sun, 17 Mar 2024 16:42:46 +0000 (UTC) Date: Sun, 17 Mar 2024 16:42:46 +0000 From: John David Anglin To: GCC Patches Subject: [committed] hppa: Fix complaint about non-delegitimized UNSPEC UNSPEC_TP Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9dD1rScs0HmygJ7W" Content-Disposition: inline X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_STATUS,SPF_HELO_PASS,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: --9dD1rScs0HmygJ7W Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- hppa: Fix complaint about non-delegitimized UNSPEC UNSPEC_TP 2024-03-17 John David Anglin gcc/ChangeLog: * config/pa/pa.cc (pa_delegitimize_address): Delegitimize UNSPEC_TP. diff --git a/gcc/config/pa/pa.cc b/gcc/config/pa/pa.cc index 129289f8e62..d7666103de8 100644 --- a/gcc/config/pa/pa.cc +++ b/gcc/config/pa/pa.cc @@ -10707,7 +10709,13 @@ pa_trampoline_adjust_address (rtx addr) static rtx pa_delegitimize_address (rtx orig_x) { - rtx x =3D delegitimize_mem_from_attrs (orig_x); + rtx x; + + if (GET_CODE (orig_x) =3D=3D UNSPEC + && XINT (orig_x, 1) =3D=3D UNSPEC_TP) + orig_x =3D XVECEXP (orig_x, 0, 0); + + x =3D delegitimize_mem_from_attrs (orig_x); =20 if (GET_CODE (x) =3D=3D LO_SUM && GET_CODE (XEXP (x, 1)) =3D=3D UNSPEC --9dD1rScs0HmygJ7W Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnRzl+6e9+DTrEhyEXb/Nrl8ZTfEFAmX3HX4ACgkQXb/Nrl8Z TfGh5Q//c5xr6QQ1hN1ebhwIuFlxEgNX8eDC8j4MWPuNyNV7NNtbiyGziXfccpu9 eOcHkHLldybM9MIbmYcw+INuj4xX4PIm7nJCjT/n6MJEmAlyQjqQ4iN6BfBX76K0 yvcVqNictwiuVkD+DPulV714Rf3QEevIJRqkoTzEb8LrAmmuNE8gRgCY3Q+ttFb0 o/Hq2jRyULYoSlV1UENZPeOwZhKHTsYK6javQEWdS/71PkTNVR+tC8bPFhZnqP4E u+IPFMgq9QzG9o6EzLuSf2W12B8ZEOkHcFWNKmUNb9lb7fKfBBd2eQSRrYiuhlTD pORO4cVNwexCZIIrfZ/aw46Mxom2JSwJPJsTfVuFLv58Ef5wESyhLuVYgLLptSil EK7O9SRyk3yu7Pgir5xe5eus8CEkREBwbOvGfuzLhmlzFAz21Q5eX1lQhZ3MkIDd 8r9o1u/YRTg8+BdhoYUCv0PY6theEpwwRYIWzEFbczavFOQbnpUdPbH40aidZdVa aZHWXYx31VZTVYgQYbs6N/wF/Diec/FGZNl3VUmjqCGOUo+AkO3wSnwuzIDvBYom s93RwZZ1pmqe3M+y2SqCbkRm/NPF8Idmfa0wOoT885x4+oUZniLoM8E/VfhoyMDr wINB9S7lDht7kpeKrE1KTZEY+94urFfQ+wFNMCoHFVTUdTkGeT4= =TyRd -----END PGP SIGNATURE----- --9dD1rScs0HmygJ7W--