Thread (3 messages) 3 messages, 2 authors, 2010-01-20

Re: linux-next: kvm tree build warning

From: Stephen Rothwell <hidden>
Date: 2010-01-20 13:01:40
Also in: linux-next, lkml

Hi Alex,

On Wed, 20 Jan 2010 11:42:28 +0100 Alexander Graf [off-list ref] 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@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachments

  • (unnamed) [application/pgp-signature] 198 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help