Make gsi_next_nonvirtual_phi do what one expects
authorVladislav Ivanishin <vlad@ispras.ru>
Mon, 7 Oct 2019 14:29:07 +0000 (14:29 +0000)
committerVladislav Ivanishin <vlad@gcc.gnu.org>
Mon, 7 Oct 2019 14:29:07 +0000 (14:29 +0000)
commit880dcdaedac453d2c64ebcc6f1bb5f81539c863c
treef4684d783c1f872f604ca1e3268f9d15df6cda6b
parentca95ce80e05143e64bca88ce5a6a38ee68894a95
Make gsi_next_nonvirtual_phi do what one expects

gcc/

        * gimple-iterator.h (gsi_next_nonvirtual_phi): Change the semantics to
        match that of other gsi_next_* functions.  Adjust the comment.
        (gsi_start_nonvirtual_phis): New function.
        * ipa-icf.c (sem_function::compare_phi_node): Update uses of
        gsi_next_nonvirtual_phi accordingly.  (No functional change.)

From-SVN: r276658
gcc/ChangeLog
gcc/gimple-iterator.h
gcc/ipa-icf.c