From: "Jan Beulich" Subject: Re: [PATCH] x86: usercopy assembly constraints Date: Wed, 14 Nov 2007 07:37:01 +0000 Message-ID: <473AB3AD.76E4.0078.0@novell.com> References: <4739D8A2.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 13.11.07 21:20 >>> >On 13/11/07 16:02, "Jan Beulich" wrote: > >> Besides only being correct this way, this helps work around a gcc 4.3 >> issue. >> At the same time, add some white space, re-order the inputs, and remove >> a bogus cast. > >What's the bug? Does some gcc allocate the 4th output parameter into one = of >the other used registers (cx,si,di) if we don't use '=3D&'? No, the effect is an 'impossible constraint' error, so there's not much = reason to be afraid I think. But as said, the constraint was wrong. Jan