Re: wrong constraints "=g" at include/asm-i386/string.h, line 186?

From: H. Peter Anvin
Date: Fri Jul 27 2007 - 00:32:51 EST


Jian-Xin Lai wrote:
> But as we know, the kerword 'register' is only a suggestion. The
> language specification does not force to put the 'register' variable
> into a register.
> Putting the variable onto stack does not violate anything, but the
> assembler will fail.
> I think the hack does not really work. THX.

Well, gcc is a bit more strict than that, but it's ugly and should be fixed.

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