On Mon, Dec 04, 2017 at 04:31:55PM -0500, Michael Meissner wrote: > On Fri, Dec 01, 2017 at 05:33:39PM -0600, Segher Boessenkool wrote: > > Okay for trunk. Further improvements welcome ;-) Thanks! > > Here is the patch for GCC 7 (the bug shows up in GCC 7). It is slightly > different due to the surrounding lines in rs6000.c being different. Is it ok > to apply? There were no regressions in the build.
It looks fine... Okay for 7. Thanks! Segher > [gcc] > 2017-12-04 Michael Meissner <meiss...@linux.vnet.ibm.com> > > Back port from trunk > 2017-12-01 Michael Meissner <meiss...@linux.vnet.ibm.com> > > PR target/81959 > * config/rs6000/rs6000.c (rs6000_address_for_fpconvert): Check for > whether we can allocate pseudos before trying to fix an address. > * config/rs6000/rs6000.md (float_<mode>si2_hw): Make sure the > memory address is indexed or indirect. > (floatuns_<mode>si2_hw2): Likewise. > > [gcct/testsuite] > 2017-12-04 Michael Meissner <meiss...@linux.vnet.ibm.com> > > Back port from trunk > 2017-12-01 Michael Meissner <meiss...@linux.vnet.ibm.com> > > PR target/81959 > * gcc.target/powerpc/pr81959.c: New test.