rtl.h (get_pool_constant, [...]): Replace rtx parameters with const_rtx parameters.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 28 Aug 2014 06:24:23 +0000 (06:24 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 28 Aug 2014 06:24:23 +0000 (06:24 +0000)
commite08cf836163a847ddfa4ffb8514a16be6d747dff
tree7441d5b00c8fa3ed69eb9de67d3b23585faddea1
parentb37c2fe0fe71ba09d7eac796c4b1c03d5261d932
rtl.h (get_pool_constant, [...]): Replace rtx parameters with const_rtx parameters.

gcc/
* rtl.h (get_pool_constant, rtx_referenced_p): Replace rtx parameters
with const_rtx parameters.
* varasm.c (get_pool_constant): Likewise.
* rtlanal.c (rtx_referenced_p_1): Delete.
(rtx_referenced_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
Assert that the rtx we're looking for is nonnull.  Allow searches
for constant pool SYMBOL_REFs.

From-SVN: r214654
gcc/ChangeLog
gcc/rtl.h
gcc/rtlanal.c
gcc/varasm.c