Re: [RS6000] Fix rtl checking ICE building libjava

2015-02-23 Thread David Edelsohn
On Mon, Feb 23, 2015 at 8:56 AM, Alan Modra wrote: > get_memreg_parts can return a memory base other than a REG, when the > memory address in question is a PLUS with other than a REG as its > first operand. This leads to an ICE with rtl checking enabled on the > following, since the callers of ge

[RS6000] Fix rtl checking ICE building libjava

2015-02-23 Thread Alan Modra
get_memreg_parts can return a memory base other than a REG, when the memory address in question is a PLUS with other than a REG as its first operand. This leads to an ICE with rtl checking enabled on the following, since the callers of get_memreg_parts expect a REG. (gdb) p debug_rtx(addr_rtx) (p