PR rtl-optimization/81424
commit3400270b47d701a214cb8905177798deb96bcb82
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jul 2017 22:03:54 +0000 (16 22:03 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jul 2017 22:03:54 +0000 (16 22:03 +0000)
treec49cf2dcd3b1df898c4e6bcf2bd73d2babd4798c
parent7ec47501cdce2313e8aeb0b3fae787257568d44c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250246 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/optabs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt65.adb [new file with mode: 0644]