Re: linux-next: kvm tree build warning

From: Stephen Rothwell
Date: Wed Jan 20 2010 - 08:01:46 EST

Hi Alex,

On Wed, 20 Jan 2010 11:42:28 +0100 Alexander Graf <agraf@xxxxxxx> wrote:
> This is odd. The same function saves and restores ext_bkp.vrsave under a common condition:
> So there can't be a case where ext_bkp.vrsave is read, but not written to before, which is what this warning implies, right?


> Also, why doesn't gcc complain about vscr too then? They're both used in the very same if statement.

I have no idea how gcc makes these decisions. :-(

> Additionally, while compiling locally I looked for warnings and didn't spot any. So apparently our compiler versions / options don't match. Which version of gcc are you using? I assume a gcc bug.
> $ gcc --version
> gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]

I use a 4.4.0 cross compiler (I should update it).
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature