[Bug target/70052] [5/6 Regression] ICE compiling _Decimal128 test case

2016-03-29 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70052

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |5.4

--- Comment #9 from Alan Modra  ---
Fixed

[Bug target/70052] [5/6 Regression] ICE compiling _Decimal128 test case

2016-03-29 Thread amodra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70052

--- Comment #8 from Alan Modra  ---
Author: amodra
Date: Wed Mar 30 00:36:36 2016
New Revision: 234543

URL: https://gcc.gnu.org/viewcvs?rev=234543=gcc=rev
Log:
[RS6000] PR70052, ICE compiling _Decimal128 test case

gcc/
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_hardfloat, mov_hardfloat32, mov_hardfloat64,
 mov_64bit_dm, mov_32bit): Use zero_fp in place of j
in all constraint alternatives.
(movtd_64bit_nodm): Delete "j" constraint alternative.
gcc/testsuite/
* gcc.dg/dfp/pr70052.c: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/dfp/pr70052.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/rs6000/constraints.md
branches/gcc-5-branch/gcc/config/rs6000/predicates.md
branches/gcc-5-branch/gcc/config/rs6000/rs6000.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug target/70052] [5/6 Regression] ICE compiling _Decimal128 test case

2016-03-26 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70052

Alan Modra  changed:

   What|Removed |Added

  Known to work|5.3.1   |4.9.4
Summary|ICE compiling _Decimal128   |[5/6 Regression] ICE
   |test case   |compiling _Decimal128 test
   ||case
  Known to fail||5.3.1

--- Comment #7 from Alan Modra  ---
Testing with current 5.3.1 shows it fails.