From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb4LP-0007h2-67 for qemu-devel@nongnu.org; Tue, 29 Oct 2013 04:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb4LF-0006Gm-Dr for qemu-devel@nongnu.org; Tue, 29 Oct 2013 04:08:07 -0400 Received: from mout.web.de ([212.227.17.12]:59664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb4LF-0006Fo-3X for qemu-devel@nongnu.org; Tue, 29 Oct 2013 04:07:57 -0400 Received: from mchn199C.mchp.siemens.de ([95.157.58.223]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LoYX0-1WC42r1t7K-00gZAz for ; Tue, 29 Oct 2013 09:07:55 +0100 Message-ID: <526F6CD7.60009@web.de> Date: Tue, 29 Oct 2013 09:07:51 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <1379437402-30804-1-git-send-email-sw@weilnetz.de> <5239510D.9070608@web.de> <52395AB5.60309@web.de> <526EB89D.4080508@weilnetz.de> In-Reply-To: <526EB89D.4080508@weilnetz.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gUMjTuwt64gkGdr23KWQdBlABJWd3TPGK" Subject: Re: [Qemu-devel] [PATCH] cpu-exec: Fix compiler warning (-Werror=clobbered) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil , Peter Maydell Cc: qemu-devel , Anthony Liguori This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gUMjTuwt64gkGdr23KWQdBlABJWd3TPGK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2013-10-28 20:18, Stefan Weil wrote: > Am 18.09.2013 09:48, schrieb Jan Kiszka: >> On 2013-09-18 09:26, Peter Maydell wrote: > [...] >>> And gcc's documentation of the 'noreturn' attribute specifically >>> says it does not affect the exceptional path where the function >>> returns via longjmp. >> OK, that is the clarifying bit of information. >> >> Now the question is if want to drop support for faulty compilers again= , >> work around the false-positive warning, or avoid the issue differently= >> than via reloading. >> >> Jan >=20 > Recently commit 6c78f29a2424622bfc9c30dfbbc13404481eacb6 > added a third variable which is reloaded now. Obviously the clang > compiler needs this workaround. >=20 > Jan, can you remember whether the initial problems were also > caused by clang? If yes, we might restrict the code to that compiler. > This would avoid the -Wclobbered warnings with newer gcc while > still fixing the code generated by clang. Look up this thread: gcc 4.5.0 Jan --gUMjTuwt64gkGdr23KWQdBlABJWd3TPGK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJvbNoACgkQitSsb3rl5xQb7ACePDPm+PVLdtWoervCi/7XdW+y 9ZgAn2tQjqB8pnSf+LYzx65gwNqcwi68 =ji2g -----END PGP SIGNATURE----- --gUMjTuwt64gkGdr23KWQdBlABJWd3TPGK--