This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/40803] [4.4 Regression] Optimization generates bad assembly causing compile to fail



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]