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  <ja...@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

Reply via email to