This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH PR78691]Require integral type for pattern ((convert1 (minmax ((convert2 (x) c)))) -> minmax (x c))


On Tue, Dec 6, 2016 at 12:02 PM, Bin Cheng <Bin.Cheng@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.cheng@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.cheng@arm.com>
>
>         PR tree-optimization/78691
>         * gcc.target/i386/pr78691-i386.c: New test.
>         * gcc.target/powerpc/pr78691-ppc.c: New test.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]