Re: [PATCH 6/8] i386: bitops: Don't mark memory as clobberedunnecessarily

From: Linus Torvalds
Date: Mon Jul 23 2007 - 13:55:57 EST




On Mon, 23 Jul 2007, Satyam Sharma wrote:
>
> The goal is to let gcc generate good, beautiful, optimized code.

No. The point is to let gcc generate *correct* code.

It's either "=m" together with "memory", or it's "+m".

You just introduced a bug.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/