On Thu, Mar 22, 2018 at 07:59:59AM +0100, Daniel Vetter wrote:
Does anyone working on overflow-proof integers? That would make a lot of this code so much simpler if we could just ask the compiler to carry the oferflow bit around for a given expression and then check that and bail with -EINVAL.
That would be nice, but no, I don't think that's part of any C standard work that I have heard of :(
greg k-h