[Bug tree-optimization/86489] ICE in gimple_phi_arg starting with r261682 when building 531.deepsjeng_r with FDO + LTO

kugan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 13 06:43:00 GMT 2018


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

--- Comment #7 from kugan at gcc dot gnu.org ---
Author: kugan
Date: Fri Jul 13 05:25:47 2018
New Revision: 262622

URL: https://gcc.gnu.org/viewcvs?rev=262622&root=gcc&view=rev
Log:
gcc/ChangeLog:

2018-07-13  Kugan Vivekanandarajah  <kuganv@linaro.org>
            Richard Biener  <rguenther@suse.de>

        PR middle-end/86489
        * tree-ssa-loop-niter.c (number_of_iterations_popcount): Check
        that the loop latch destination where phi is defined.

gcc/testsuite/ChangeLog:

2018-07-13  Kugan Vivekanandarajah  <kuganv@linaro.org>

        PR middle-end/86489
        * gcc.dg/pr86489.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr86489.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-niter.c


More information about the Gcc-bugs mailing list