WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH]: minios: eliminate compile warning - use of uninitialised variable
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Date: Fri, 7 Jan 2011 20:28:39 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 07 Jan 2011 16:04:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1294422142.12018.99.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
References: <1294419169.12018.79.camel@xxxxxxxxxxxxxxxxxxxxxx> <20110107165822.GX5820@xxxxxxxxxxxxxxxxxxxxxxx> <1294420919.12018.89.camel@xxxxxxxxxxxxxxxxxxxxxx> <1294422142.12018.99.camel@xxxxxxxxxxxxxxxxxxxxxx>
Resent-date: Sat, 8 Jan 2011 01:03:27 +0100
Resent-from: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Resent-message-id: <20110108000327.GS5418@xxxxxxxxxxxxxxxxxxxxxxxxx>
Resent-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
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