Hi all. Following code snippet generate these warnings: t.c:9:9: warning: asm output is not an lvalue t.c:10:10: warning: asm output is not an lvalue t.c:9:9: warning: generating address of non-lvalue (11) t.c:10:10: warning: generating address of non-lvalue (11) The code snippet is part of the math emu in the kernel. For sparc32 I get a lot of the "asm output is not an lvalue" warnings. For sparc32 I do not get the "generating address of non-lvalue". Can you help me gettitng rid of these warnings? Thanks in advance, Sam $ cat t.c static void todo(void) { typedef unsigned int USItype __attribute__((mode(SI))); USItype l1; USItype DR_f0, DA_f1, DB_f1, DA_f0, DB_f0; __asm__ ("subcc %r4,%5,%1\n\t" "subx %r2,%3,%0\n" : "=r" ((USItype)(l1)), "=&r" ((USItype)(DR_f0)) : "rJ" ((USItype)(DA_f1)), "rI" ((USItype)(DB_f1)), "rJ" ((USItype)(DA_f0)), "rI" ((USItype)(DB_f0)) : "cc"); } -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html