On 08/03/14 08:22, Richard Sandiford wrote:
The old function handled constant pool SYMBOL_REFs by going straight to the
underlying constant, which meant you couldn't test for the SYMBOL_REF itself.


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.
OK.
Jeff

Reply via email to