https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Dec 15 22:11:33 2017 New Revision: 255725 URL: https://gcc.gnu.org/viewcvs?rev=255725&root=gcc&view=rev Log: Backported from mainline 2017-12-08 Joseph Myers <jos...@codesourcery.com> Alexander Monakov <amona...@ispras.ru> Jakub Jelinek <ja...@redhat.com> PR target/81906 * config/i386/i386.c (ix86_expand_rint): Handle flag_rounding_math. * gcc.target/i386/pr81906.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr81906.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/i386/i386.c branches/gcc-7-branch/gcc/testsuite/ChangeLog