Received: from eggs.gnu.org ([2001:4830:134:3::10]:41870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLyIz-0004kn-88 for qemu-devel@nongnu.org; Tue, 17 Sep 2013 12:39:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLyIt-00078j-3V for qemu-devel@nongnu.org; Tue, 17 Sep 2013 12:39:13 -0400 Message-ID: <5238859C.2040908@weilnetz.de> Date: Tue, 17 Sep 2013 18:38:52 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1379188061-7634-1-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 00/15] trivial patches for 2013-09-14 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-trivial , Michael Tokarev , qemu-devel Am 17.09.2013 17:06, schrieb Anthony Liguori: > On Sat, Sep 14, 2013 at 2:47 PM, Michael Tokarev wrote= : >> Just a bit late but here's the next trivial-patches pull request. >> >> Thanks, > Breaks the build: > > /home/anthony/git/qemu/cpu-exec.c: In function =E2=80=98cpu_alpha_exec=E2= =80=99: > /home/anthony/git/qemu/cpu-exec.c:204:15: error: variable =E2=80=98cpu=E2= =80=99 might > be clobbered by =E2=80=98longjmp=E2=80=99 or =E2=80=98vfork=E2=80=99 [-= Werror=3Dclobbered] > /home/anthony/git/qemu/cpu-exec.c:202:28: error: argument =E2=80=98env=E2= =80=99 might > be clobbered by =E2=80=98longjmp=E2=80=99 or =E2=80=98vfork=E2=80=99 [-= Werror=3Dclobbered] > cc1: all warnings being treated as errors > > I think it's one of the warning patches from Stefan. I cannot bisect > here. My gcc info is below: Yes, it's the new -Wextra compiler (see "configure: Enable extra compiler warnings"). Some versions of gcc complain about this code in cpu-exec.c: /* Reload env after longjmp - the compiler may have smashed a= ll * local variables as longjmp is marked 'noreturn'. */ cpu =3D current_cpu; env =3D cpu->env_ptr; I think that lines can be simply removed (which also fixes the warning). Please apply the trivial patches without my -Wextra patch or wait until I have sent a patch to fix cpu-exec.c. Regards Stefan