This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/81906] [7 Regression] Calls to rint() wrongly optimized away starting in g++ 6


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]