[Bug target/81906] [7 Regression] Calls to rint() wrongly optimized away starting in g++ 6
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 17:01:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81906
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 16:59:37 2018
New Revision: 262044
URL: https://gcc.gnu.org/viewcvs?rev=262044&root=gcc&view=rev
Log:
Backported from mainline
2017-12-08 Joseph Myers <joseph@codesourcery.com>
Alexander Monakov <amonakov@ispras.ru>
Jakub Jelinek <jakub@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-6-branch/gcc/testsuite/gcc.target/i386/pr81906.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/i386/i386.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list