https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84700

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 20:29:34 2018
New Revision: 261913

URL: https://gcc.gnu.org/viewcvs?rev=261913&root=gcc&view=rev
Log:
        Backported from mainline
        2018-03-05  Jakub Jelinek  <ja...@redhat.com>

        PR target/84700
        * combine.c (combine_simplify_rtx): Don't try to simplify if
        if_then_else_cond returned non-NULL, but either true_rtx or false_rtx
        are equal to x.

        * gcc.target/powerpc/pr84700.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr84700.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/combine.c
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to