From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8950 invoked by alias); 23 Sep 2012 22:53:18 -0000 Received: (qmail 8893 invoked by uid 48); 23 Sep 2012 22:52:50 -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 22:53: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/msg01894.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54686 --- Comment #16 from Paolo Carlini 2012-09-23 22:52:50 UTC --- I also note that so far we added the long long overloads only in C++11 mode. I know that elsewhere in the library we have long long overloads in C++98 mode too as extensions, but then maybe better wrapping in _GLIBCXX_USE_LONG_LONG?