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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 23 12:38:03 2019
New Revision: 277321

URL: https://gcc.gnu.org/viewcvs?rev=277321&root=gcc&view=rev
Log:
        PR debug/90231
        * tree-ssa-loop-ivopts.c (get_debug_computation_at): New function.
        (remove_unused_ivs): Use it instead of get_computation_at.  When
        choosing best candidate, only consider candidates where
        get_debug_computation_at actually returns non-NULL.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-loop-ivopts.c

Reply via email to