From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2740 invoked by alias); 5 Aug 2014 09:53:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2711 invoked by uid 55); 5 Aug 2014 09:52:58 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61876] Converting __builtin_round + cast into __builtin_lround is not always equivalent in regards to math errno Date: Tue, 05 Aug 2014 09:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: missed-optimization, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00275.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61876 --- Comment #10 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Aug 5 09:52:21 2014 New Revision: 213628 URL: https://gcc.gnu.org/viewcvs?rev=213628&root=gcc&view=rev Log: [convert.c] PR 61876: Guard transformation to lrint by -fno-math-errno. * convert.c (convert_to_integer): Guard transformation to lrint by -fno-math-errno. Modified: trunk/gcc/ChangeLog trunk/gcc/convert.c