------- Comment #4 from ubizjak at gmail dot com  2009-07-19 15:47 -------
BTW: Constraints in arch/x86/include/asm/uaccess_64.h from linux-2.6.31 are
wrong for all cases where mov is suffixed with "q", i.e.:

int __copy_to_user(void __user *dst, const void *src, unsigned size)
{
        ...
        case 8:__put_user_asm(*(u64 *)src, (u64 __user *)dst,
                              ret, "q", "", "ir", 8);
                return ret;
        ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40803

Reply via email to