linux-next: kvm tree build warning

Stephen Rothwell sfr at canb.auug.org.au
Thu Jan 21 00:01:28 EST 2010


Hi Alex,

On Wed, 20 Jan 2010 11:42:28 +0100 Alexander Graf <agraf at suse.de> 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?

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).
-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100121/148e96b8/attachment.pgp>


More information about the Linuxppc-dev mailing list