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

Re: [Xen-devel] [PATCH] x86: usercopy assembly constraints



>>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> 13.11.07 21:20 >>>
>On 13/11/07 16:02, "Jan Beulich" <jbeulich@xxxxxxxxxx> 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 '=&'?

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


_______________________________________________
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®.