On Tue, Jan 28, 2003 at 07:14:21PM -0800, Long Li wrote: > Subject: Possible bug in gcc for mips? It's always possible to blame the tools for broken source. > asm volatile ("mfc0 %0,$12" :: "r"(status_reg)); Make that: asm volatile ("mfc0 %0,$12" : "=r"(status_reg)); > Is this a possible bug or a feature for gcc 3.0.4? Yes. Broken source in, broken code out :-) Ralf