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

Bug#172090: target/9074: [alpha-linux] gcc fails to compile kernel on wildfire



Hi,

not quite sure what's going on, but the problem is still there in gcc
version 3.4 20030203. Here's a smaller testcase:

extern inline void copy_tofrom_user(long len)
{
    register long pv asm("$27") = 0;
    register long cu_from asm("$7") = 0;
    asm volatile ("" : "=r"(len), "=r"(cu_from), "=r"(pv)
		     : "0"(len), "1"(cu_from), "2"(pv));
}

static void stli_memread(int *brdp) {    
    copy_tofrom_user(1 % *brdp);
}

Looks like some conflict between the divmod pattern and the $27 asm.

-- 
	Falk



Reply to: