https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84827
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Jun 22 20:37:40 2018 New Revision: 261920 URL: https://gcc.gnu.org/viewcvs?rev=261920&root=gcc&view=rev Log: Backported from mainline 2018-03-13 Jakub Jelinek <ja...@redhat.com> PR target/84827 * config/i386/i386.md (round<mode>2): For 387 fancy math, disable pattern if -ftrapping-math -fno-fp-int-builtin-inexact. * gcc.target/i386/pr84827.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr84827.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/i386/i386.md branches/gcc-7-branch/gcc/testsuite/ChangeLog