On Fri, Mar 25, 2016 at 07:36:34PM +1030, Alan Modra wrote: > +2016-03-25 Alan Modra <amo...@gmail.com> > + > + PR target/70052 > + * config/rs6000/constraints.md (j): Simplify. > + * config/rs6000/predicates.md (easy_fp_constant): Exclude > + decimal float 0.D. > + * config/rs6000/rs6000.md (zero_fp): New mode_attr. > + (mov<mode>_hardfloat, mov<mode>_hardfloat32, mov<mode>_hardfloat64, > + mov<mode>_64bit_dm, mov<mode>_32bit): Use zero_fp in place of j > + in all constraint alternatives. > + (movtd_64bit_nodm): Delete "j" constraint alternative. > + [snip] > +2016-03-25 Alan Modra <amo...@gmail.com> > + > + * gcc.dg/dfp/pr70052.c: New test. > +
Testing showed that this problem exists on the gcc-5 branch too. I've backported the above and bootstrapped plus regression tested on powerpc64le-linux. OK for gcc-5? -- Alan Modra Australia Development Lab, IBM