This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81906] [7 Regression] Calls to rint() wrongly optimized away starting in g++ 6
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jun 2018 17:00:26 +0000
- Subject: [Bug target/81906] [7 Regression] Calls to rint() wrongly optimized away starting in g++ 6
- Auto-submitted: auto-generated
- References: <bug-81906-4@http.gcc.gnu.org/bugzilla/>
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