rs6000: Fix an ICE with -mno-direct-move (PR85291)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 12 Apr 2018 20:01:37 +0000 (22:01 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 12 Apr 2018 20:01:37 +0000 (22:01 +0200)
commited086e7e0a9f56c0e6f20236fb3cf2c64c4b4b71
treee284c46be5eff16e3d0e3fc610f1b0879aece4e3
parentff111948988e61cd44da618d0a4231b9bb8aa66c
rs6000: Fix an ICE with -mno-direct-move (PR85291)

PR target/85291
* config/rs6000/rs6000.md (fix_trunc<mode>si2): Use legacy code if
asked to not generate direct moves.
(fix_trunc<mode>si2_stfiwx): Similar.
(fix_trunc<mode>si2_internal): Similar.

From-SVN: r259354
gcc/ChangeLog
gcc/config/rs6000/rs6000.md