[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH]: minios: eliminate compile warning - use of uninitialised variable



Gianni Tedesco, le Fri 07 Jan 2011 17:42:22 +0000, a écrit :
> On Fri, 2011-01-07 at 17:21 +0000, Gianni Tedesco wrote:
> > On Fri, 2011-01-07 at 16:58 +0000, Samuel Thibault wrote:
> > > Gianni Tedesco, le Fri 07 Jan 2011 16:52:49 +0000, a écrit :
> > > > I'm not sure if this is a legit catch by gcc or a false positive due to
> > > > extra cleverness in gcc-4.5. Either way it causes the build to barf.
> > > 
> > > It seems a false positive to me. What is the warning message?
> 
> Actually looks like these are incorrect when compiled 64bit and not
> needed anyway. Following patch does the job.

They _are_ needed when you do some particular divisions: gcc will emit
references in that case.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.