re PR target/81906 (Calls to rint() wrongly optimized away starting in g++ 6)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Dec 2017 23:56:34 +0000 (00:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Dec 2017 23:56:34 +0000 (00:56 +0100)
commit7f5aed1e5d7b8f02ed81178f65d84cbd27ec88cd
tree19a103430578ba4a53e3f95d98e6a0aa9aa7770d
parent9b6c97373a0ca04b5888a1c4ca6519c94388da50
re PR target/81906 (Calls to rint() wrongly optimized away starting in g++ 6)

PR target/81906
* config/i386/i386.c (ix86_expand_rint): Handle flag_rounding_math.

* gcc.target/i386/pr81906.c: New test.

From-SVN: r255486
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81906.c [new file with mode: 0644]