http://bugzilla.novell.com/show_bug.cgi?id=587220 http://bugzilla.novell.com/show_bug.cgi?id=587220#c4 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #4 from Richard Guenther <rguenther@novell.com> 2010-03-18 15:36:16 UTC --- struct thread_struct ext_bkp; bool save_vec = current->thread.used_vr; [...] #ifdef CONFIG_ALTIVEC /* Save Altivec state in stack */ if (save_vec) { if (current->thread.regs->msr & MSR_VEC) giveup_altivec(current); memcpy(ext_bkp.vr, current->thread.vr, sizeof(ext_bkp.vr)); ext_bkp.vscr = current->thread.vscr; ext_bkp.vrsave = current->thread.vrsave; } ext_bkp.used_vr = current->thread.used_vr; #endif [...] #ifdef CONFIG_ALTIVEC /* Restore Altivec state from stack */ if (save_vec && current->thread.used_vr) { memcpy(current->thread.vr, ext_bkp.vr, sizeof(ext_bkp.vr)); current->thread.vscr = ext_bkp.vscr; current->thread.vrsave= ext_bkp.vrsave; } ext_bkp.vrsave is set under save_vec and used under save_vec && current->thread.used_vr. GCC isn't smart enough to cover this false positive (if indeed it is one). So GCC says _may_ be used uninitialized. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.