Messages in this thread | | | Date | Tue, 09 Dec 2003 07:42:47 -0800 | From | "H. Peter Anvin" <> | Subject | Re: const versus __attribute__((const)) |
| |
Arnd Bergmann wrote: > > For reference, both gcc-3.3 and gcc-3.4 (snapshot) give produce the same assembly > as gcc-3.2 for your code, but give this warning: > > test.c:6: warning: use of memory input without lvalue in asm operand 1 is deprecated > test.c:7: warning: use of memory input without lvalue in asm operand 1 is deprecated >
In some ways, this is rather unfortunate, too. What it really means is that the gcc "m" constraint is overloaded; it would have been better if they would have created a new modifier (say "*") for "must be lvalue."
-hpa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |