https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81424
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Sun Jul 16 22:07:15 2017 New Revision: 250247 URL: https://gcc.gnu.org/viewcvs?rev=250247&root=gcc&view=rev Log: 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. Added: branches/gcc-7-branch/gcc/testsuite/gnat.dg/opt65.adb (props changed) - copied unchanged from r250246, trunk/gcc/testsuite/gnat.dg/opt65.adb Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/optabs.c branches/gcc-7-branch/gcc/testsuite/ChangeLog Propchange: branches/gcc-7-branch/gcc/testsuite/gnat.dg/opt65.adb ('svn:mergeinfo' added)