2015-09-01 17:31 GMT+02:00 Jason Merrill <ja...@redhat.com>: > On 09/01/2015 11:27 AM, Kai Tietz wrote: >> >> I rewrote binary/unary overflow-check logic so, that we avoid double >> checking-s. I think this address things as you intend, beside the >> checking for constant value. We would need to check for *_CST >> tree-codes. Is there a macro we could use, which is just checking for >> those? > > > Yes, CONSTANT_CLASS_P. > > Jason
Thanks, I found it too :] I applied a patch short-cutting check for cases that operands aren't of constant-class. Kai