This is the mail archive of the gcc-bugs@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]

[Bug target/84700] [6/7 Regression] ICE on 32-bit BE powerpc targets w/ -misel -O1


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  <jakub@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

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