On 07/24/2017 02:50 AM, Segher Boessenkool wrote: > On Wed, Jul 19, 2017 at 12:19:32AM -0600, Jeff Law wrote: >> On 07/18/2017 01:36 PM, Segher Boessenkool wrote: >>> * simplify-rtx.c (simplify_truncation): Handle truncating an IOR >>> with a constant that is -1 in the truncated to mode. >> OK. A testcase would be advisable :-) >> >> jeff > > Like this. Is this okay for trunk? (Is int32plus the correct test > to use here?) > > > Segher > > > 2017-07-24 Segher Boessenkool <seg...@kernel.crashing.org> > > gcc/testsuite/ > PR rtl-optimization/81423 > * gcc.c-torture/execute/pr81423.c: New testcase. I think int32plus just indicates ints are at least 32 bits. But a long or long long could still be just 32 bits. so int32plus && long_neq_int, to ensure that long/long long are 64 bits?
OK with that change. jeff