From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73482 invoked by alias); 16 Nov 2016 03:16:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 73337 invoked by uid 89); 16 Nov 2016 03:15:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: smtp.gentoo.org Date: Wed, 16 Nov 2016 03:16:00 -0000 From: Mike Frysinger To: Joseph Myers Cc: libc-alpha@sourceware.org Subject: Re: Fix SH4 register-dump.h for soft-float Message-ID: <20161116031534.GG21655@vapier.lan> Mail-Followup-To: Joseph Myers , libc-alpha@sourceware.org References: <20161115204910.GE21655@vapier.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yJ4qnbZIW6vSQ1qE" Content-Disposition: inline In-Reply-To: X-SW-Source: 2016-11/txt/msg00525.txt.bz2 --yJ4qnbZIW6vSQ1qE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 703 On 16 Nov 2016 01:39, Joseph Myers wrote: > On Tue, 15 Nov 2016, Mike Frysinger wrote: > > seems like you could just move it into the existing ifdef scope > > rather than duplicating the logic ? fpregs is only used inside > > of an existing if(){...} scope. >=20 > Here is a patch which does that. (To be clear, it has to stay outside th= e=20 > if (), because pointers into it are used by writev after that if () has=20 > finished, so it needs to be live at that point.) >=20 > Fix SH4 register-dump.h for soft-float. >=20 > This patch fixes SH4 register-dump.h to declare a variable inside the > #ifdef in it is used, to avoid an unused variable error breaking the > build for soft-float. OK -mike --yJ4qnbZIW6vSQ1qE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYK89WAAoJEEFjO5/oN/WBOGYQAMb9LCR2dMvyNy6jWSkQPNPb /u1Zo3lASR5jdg7bOXZ7JuZ1K3R1ysf1ja/YYwMg4K2PK7dc4p5O3OP0IyJKuEQS RUCmD781bTkxpCdSf3zWSGJWa3JSvPucdAhOngmR9YZqfOOzNUXAQYrfDC1Hu2wp ezvgxguEH1Sox3UvpVUzYUW98a7Oq3M/5fqzDwz0nBhqvLZFNC8jWXxnIyA+wAEr mqpjP1FO2F4hzXCg+VcFzK++ivMkeBgAKlavGrKqRxV8rPna7i23NKILiXJDA9Bd xB0AkCJf81pkOXqALDfPlnC0FaChA8mAthzYeBS0sBtqjTRhotsUYPxcBaPDVHHN yWUlJucAEbcReQ62z6d3GnM1isyRrU1benVRz63Zgy5yP3TfvkbFDSb4inG4zPQX oZw+6ovXF0WSkizaAd2f+KG2LRe0n0GwmTLh/c/pMcGJWmqEMR/WXUfh97FSDn/A iUIp3AioxLSUbxUNRUt4Eiun3x+RHAy9QC/C2WjgmE336QpNxRVfYbSKT05cL1O0 f+3nruq/hApWv2NIAXMxBPy+yhrasKfz+A9wsuDoK2bChfNnnabR/89eGishTY96 gHljamz0uz0uEZhU3kl9/xdzkam2BqRdmCWxiDjgoCLF2F2o+hAWK+WbmpbeL3vM PAHSXYqNkrpqa5437S0E =JHAK -----END PGP SIGNATURE----- --yJ4qnbZIW6vSQ1qE--