From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21327 invoked by alias); 22 May 2005 09:15:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21214 invoked by uid 48); 22 May 2005 09:15:54 -0000 Date: Sun, 22 May 2005 09:15:00 -0000 Message-ID: <20050522091554.21213.qmail@sourceware.org> From: "pcarlini at suse dot de" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040131115251.13943.debian-gcc@lists.debian.org> References: <20040131115251.13943.debian-gcc@lists.debian.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/13943] call of overloaded `llabs(int)' is ambiguous X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg03038.txt.bz2 List-Id: ------- Additional Comments From pcarlini at suse dot de 2005-05-22 09:15 ------- Gaby, can you have a look? It seems to me that we should use the same approach used in std_cmath.h for fpclassify & co. In particular, when _GLIBCXX_USE_C99 is defined - that explicitly checks for llabs and lldiv - do *not* open code llabs and lldiv. Probably the open coding of the overloads abs(long long) and div(long long, long long) should stay, however, as a straightforward extension of 26.5/4 for long long. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |pcarlini at suse dot de, gdr | |at integrable-solutions dot | |net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13943