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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 08:20:03 2017
New Revision: 248664

URL: https://gcc.gnu.org/viewcvs?rev=248664&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-5-branch/gcc/testsuite/gcc.dg/pr80112.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/loop-doloop.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to