From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 979 invoked by alias); 3 Oct 2007 00:34:59 -0000 Received: (qmail 958 invoked by alias); 3 Oct 2007 00:34:51 -0000 Date: Wed, 03 Oct 2007 00:34:00 -0000 Message-ID: <20071003003451.957.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/33613] compilation inconsistency upper_bound vs lower_bound with -D_GLIBCXX_DEBUG In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo at gcc dot gnu dot org" 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: 2007-10/txt/msg00188.txt.bz2 ------- Comment #4 from paolo at gcc dot gnu dot org 2007-10-03 00:34 ------- Subject: Bug 33613 Author: paolo Date: Wed Oct 3 00:34:40 2007 New Revision: 128974 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128974 Log: 2007-10-03 Paolo Carlini PR libstdc++/33613 * include/debug/functions.h (__check_partitioned): Rename to... (__check_partioned_lower): ... this. (__check_partioned_upper): Add. * include/debug/macros.h (__glibcxx_check_partitioned): Rename to... (__glibcxx_check_partitioned_lower): ... this, adjust. (__glibcxx_check_partitioned_upper): Add. * include/debug/debug.h (__glibcxx_requires_partitioned): Rename to... (__glibcxx_requires_partitioned_lower): ... this, adjust. (__glibcxx_requires_partitioned_upper): Add. * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range, binary search): Use the above. * testsuite/25_algorithms/lower_bound/33613.cc: New. * testsuite/25_algorithms/upper_bound/33613.cc: Likewise. Added: trunk/libstdc++-v3/testsuite/25_algorithms/lower_bound/33613.cc trunk/libstdc++-v3/testsuite/25_algorithms/upper_bound/33613.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_algo.h trunk/libstdc++-v3/include/debug/debug.h trunk/libstdc++-v3/include/debug/functions.h trunk/libstdc++-v3/include/debug/macros.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33613