You're asking the compiler to take a statement which is written
incorrectly and fix it. Nowhere else in the compiler do we do
this. Instead you have to fix the incorrect statement.
> If done as soon as the inline assembly is parsed, this wouldn't
> affect very much of the compiler at all. It would certainly not
> affect the way gcc allocates registers, since the constraints
> would be already converted.
Actually it does cause problems. It's a subtle technical issue, but
changing clobbers in that manner is not safe. This came up with the
ppc linux folks.
jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu