re PR rtl-optimization/81424 (internal error on GPRbuild with -O2)
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 16 Jul 2017 22:03:54 +0000 (22:03 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 16 Jul 2017 22:03:54 +0000 (22:03 +0000)
commit38f638cae20c53258854054bfc09f489c01ffe94
treec49cf2dcd3b1df898c4e6bcf2bd73d2babd4798c
parent1234ee19c9a7b175c154f987d3089d669d17501a
re PR rtl-optimization/81424 (internal error on GPRbuild with -O2)

PR rtl-optimization/81424
* optabs.c (prepare_cmp_insn): Use copy_to_reg instead of force_reg
to remove potential trapping from operands if -fnon-call-exceptions.

From-SVN: r250246
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt65.adb [new file with mode: 0644]