Jeff Squyres, le Wed 27 Apr 2011 17:49:37 +0200, a écrit :
> topology-x86.c: In function ?\200\230summarize?\200\231:
> topology-x86.c:273:21: warning: ?\200\230one?\200\231 may be used uninitialized in this function
> topology-x86.c: In function ?\200\230look_proc?\200\231:
> topology-x86.c:222:61: warning: ?\200\230apic_id?\200\231 may be used uninitialized in this function
It's odd that I haven't seen those in my tests. I guess we don't
automatically add -O2?
> It's not immediately obvious to me what you want to do if these values are not initialized.
Actually it's "can't happen" cases: there should be no processor at all
for the first one, and the processor cpuid information has to suddenly
stop providing cache information for the second one.