Re: [PATCH, rs6000] Fix PR80376 and PR80315

2017-04-11 Thread Segher Boessenkool
Hi! On Tue, Apr 11, 2017 at 04:27:05PM -0500, Bill Schmidt wrote: > The real secondary problem is that we produce a const0_rtx instead of > a mode-compatible CONST0_RTX, so the assignment of the built-in result to its > target rtx fails with an ICE. I've gone through rs6000.c and fixed the places

[PATCH, rs6000] Fix PR80376 and PR80315

2017-04-11 Thread Bill Schmidt
Hi, The previous patch for PR80376 produced a different sort of ICE, which wasn't a terribly great solution. I looked into Segher's suggestion based on code in x86, but that wasn't appropriate here as the problem happens at a different place. The real secondary problem is that we produce a const