[Bug rtl-optimization/80112] [5/6 Regression] ICE in doloop_condition_get at loop-doloop.c:158

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 5 21:46:00 GMT 2017


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May  5 21:44:21 2017
New Revision: 247690

URL: https://gcc.gnu.org/viewcvs?rev=247690&root=gcc&view=rev
Log:
        Backported from mainline
        2017-03-24  Jakub Jelinek  <jakub@redhat.com>

        PR rtl-optimization/80112
        * loop-doloop.c (doloop_condition_get): Don't check condition
        if cmp isn't SET with IF_THEN_ELSE src.

        * gcc.dg/pr80112.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr80112.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/loop-doloop.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list