On Tue, Dec 6, 2016 at 12:02 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > This patch fixes ICE reported by PR78691, it adds requirement of integral > type for the outer > expression of pattern ((convert1 (minmax ((convert2 (x) c)))) -> minmax (x > c)). > Test case checked on ppc, bootstrap and test on x86_64 ongoing, is it OK if > no new failure?
Ok. Richard. > Thanks, > bin > > 2016-12-06 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/78691 > * match.pd ((convert1 (minmax ((convert2 (x) c)))) -> minmax (x c)): > Require integral type for the outer expression. > > gcc/testsuite/ChangeLog > 2016-12-06 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/78691 > * gcc.target/i386/pr78691-i386.c: New test. > * gcc.target/powerpc/pr78691-ppc.c: New test.