https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87598
--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> --- On Sat, 20 Oct 2018, segher at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87598 > > --- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> --- > rs6000.c print_operand_address does not like (const_int 0) or any other > const_int. Power *can* actually have constant numbers as data addresses, > but only for instructions that have some D form; and GCC does not support > such constant addresses currently. > > We could do output_operand_lossage, or we could do as most targets do here: > call output_addr_const and hope for the best (it will output just "0" with > this testcase). Is that preferred? I guess either variant is OK. output_addr_const would be OK as well as that matches generic handling for the constant address letter.