From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10521 invoked by alias); 23 Sep 2012 21:15:51 -0000 Received: (qmail 10453 invoked by uid 48); 23 Sep 2012 21:15:30 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54686] std::abs (long long) resorts to std::abs (double) if llabs is absent Date: Sun, 23 Sep 2012 21:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-09/txt/msg01866.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54686 --- Comment #7 from Paolo Carlini 2012-09-23 21:15:30 UTC --- Thanks for the message, Marc, I think we are both missing something here, because abs (long long) apparently (I didn't write the code) has already a fall back open coded implementation in namespace __gnu_cxx, so? Can you please investigate and see if in case we can have a simple patch benefiting a range of targets? I bet we can.