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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
On trunk I see it fixed in r259672:

Author: rguenth
2018-04-26  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/85116
        * tree-ssa-loop-ch.c (do_while_loop_p): A do-while loop should
        have a loop exit from the single latch predecessor.  Remove
        case of header with just condition.
        (ch_base::copy_headers): Exclude infinite loops from any
        processing.
        (pass_ch::execute): Record exits.

        * gcc.dg/tree-ssa/copy-headers-2.c: New testcase.
        * gcc.dg/tree-ssa/copy-headers-3.c: Likewise.
        * gcc.dg/tree-ssa/copy-headers-4.c: Likewise.
        * gcc.dg/tree-ssa/loadpre6.c: Adjust.

GCC 6 branch is OK, so it appeared in trunk in r250212
Author: wschmidt
[gcc]

2016-07-14  Bill Schmidt  <wschm...@linux.vnet.ibm.com>

        PR tree-optimization/81162
        * gimple-ssa-strength-reduction.c (replace_mult_candidate): Don't
        replace a negate with an add.

[gcc/testsuite]

2016-07-14  Bill Schmidt  <wschm...@linux.vnet.ibm.com>

        PR tree-optimization/81162
        * gcc.dg/pr81162.c: New file.

Reply via email to