Re: [RS6000] PR54009 again

2013-02-06 Thread Alan Modra
On Wed, Feb 06, 2013 at 01:24:43PM -0500, David Edelsohn wrote: > We just need to tweak it until we close these corner cases. > > Do you have a testcase that can be added? David's "corner case" comment prompted me to look at this again, and sure enough, there was another case that could be trigge

Re: [RS6000] PR54009 again

2013-02-06 Thread David Edelsohn
On Wed, Feb 6, 2013 at 8:38 AM, Alan Modra wrote: > My PR54131 fix caused PR54009 to raise its ugly head again. Allowing > all LO_SUM addresses in the 'Y' constraint (mem_operand_gpr) wasn't > quite correct. We still need to check for wrap when offsetting for > multiple words/regs. Fixing that

[RS6000] PR54009 again

2013-02-06 Thread Alan Modra
My PR54131 fix caused PR54009 to raise its ugly head again. Allowing all LO_SUM addresses in the 'Y' constraint (mem_operand_gpr) wasn't quite correct. We still need to check for wrap when offsetting for multiple words/regs. Fixing that means the LO_SUM addresses not accepted by 'Y' need an addr