Fix bogus calls to set_rtx_cost.
authorAlan Modra <amodra@gmail.com>
Thu, 7 May 2020 18:00:18 +0000 (14:00 -0400)
committerJeff Law <law@torsion.usersys.redhat.com>
Thu, 7 May 2020 18:00:18 +0000 (14:00 -0400)
commita5cac223dff2f83b83318ecf4dedc98a98649e2a
tree08cd611e8da5b2f764849a448ae2bbece4116235
parent3807f286eff75cb0e4af924c3ee9e02add23e12e
Fix bogus calls to set_rtx_cost.

* tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Replace
set_rtx_cost with set_src_cost.
* tree-switch-conversion.c (bit_test_cluster::emit): Likewise.
gcc/ChangeLog
gcc/tree-ssa-reassoc.c
gcc/tree-switch-conversion.c