gcc can assume 'state' stays constant in memory not just during the
'case'.
> The C standard doesn't say crap about volatile. It leaves it up to the
> compiler to do something about it.
The C folks definitely say it is a kernel bug if you don't apply my
patch and I agree with them. Ask Jan.
Andrea
-
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/