rs6000: Handle print_operand_address for unexpected RTL (PR87598)
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 22 Oct 2018 14:03:22 +0000 (16:03 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 22 Oct 2018 14:03:22 +0000 (16:03 +0200)
commitb333d8b6d0deca1126f1e206f6ba2678deec437a
tree9bf964550a7a591fffa7bc5652222d9402ec8e75
parente86087eeb8b9cab8caf7f223b602383a3216c810
rs6000: Handle print_operand_address for unexpected RTL (PR87598)

As the PR shows, the user can force this to be called on at least some
RTL that is not a valid address.  Most targets treat this as if the
user knows best; let's do the same.

PR target/87598
* config/rs6000/rs6000.c (print_operand_address): For unexpected RTL
call output_addr_const and hope for the best.

From-SVN: r265392
gcc/ChangeLog
gcc/config/rs6000/rs6000.c