numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY.
2003-12-22 Benjamin Kosnik <bkoz@redhat.com> * testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. * testsuite/23_containers/vector/invalidation/1.cc: Same. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/vector/resize/1.cc: Same. * testsuite/26_numerics/complex_value.cc: Same. * testsuite/27_io/ios_base/storage/1.cc: Same. * testsuite/27_io/ios_base/storage/2.cc: Same. * testsuite/27_io/ios_base/storage/3.cc: Same. * testsuite/27_io/manipulators/standard/char/2.cc: Same. * testsuite/backward/11460.cc: Same. * testsuite/backward/strstream_members.cc: Same. * include/ext/hash_set (class hash_multiset): Fix typo. From-SVN: r74951
This commit is contained in:
parent
1ffe6573a9
commit
941fe801b4
@ -1,3 +1,22 @@
|
||||
2003-12-22 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to
|
||||
dg-options in testcases that use VERIFY.
|
||||
* testsuite/23_containers/vector/invalidation/1.cc: Same.
|
||||
* testsuite/23_containers/vector/invalidation/2.cc: Same.
|
||||
* testsuite/23_containers/vector/invalidation/3.cc: Same.
|
||||
* testsuite/23_containers/vector/invalidation/4.cc: Same.
|
||||
* testsuite/23_containers/vector/resize/1.cc: Same.
|
||||
* testsuite/26_numerics/complex_value.cc: Same.
|
||||
* testsuite/27_io/ios_base/storage/1.cc: Same.
|
||||
* testsuite/27_io/ios_base/storage/2.cc: Same.
|
||||
* testsuite/27_io/ios_base/storage/3.cc: Same.
|
||||
* testsuite/27_io/manipulators/standard/char/2.cc: Same.
|
||||
* testsuite/backward/11460.cc: Same.
|
||||
* testsuite/backward/strstream_members.cc: Same.
|
||||
|
||||
* include/ext/hash_set (class hash_multiset): Fix typo.
|
||||
|
||||
2003-12-22 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/27_io/objects/char/5.cc: Don't use stdc++.h.gch.
|
||||
|
@ -267,7 +267,7 @@ public:
|
||||
typedef typename _Ht::size_type size_type;
|
||||
typedef typename _Ht::difference_type difference_type;
|
||||
typedef typename _Alloc::pointer pointer;
|
||||
typedef typename _Alloc:const_pointer const_pointer;
|
||||
typedef typename _Alloc::const_pointer const_pointer;
|
||||
typedef typename _Alloc::reference reference;
|
||||
typedef typename _Alloc::const_reference const_reference;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-options "-mieee" { target alpha*-*-* } }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -mieee" { target alpha*-*-* } }
|
||||
|
||||
// 1999-08-23 bkoz
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
// USA.
|
||||
|
||||
// We need to be pedantic about reallocations for this testcase to be correct.
|
||||
// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
|
||||
#ifndef _GLIBCXX_DEBUG_PEDANTIC
|
||||
# define _GLIBCXX_DEBUG_PEDANTIC 1
|
||||
|
@ -19,7 +19,7 @@
|
||||
// USA.
|
||||
|
||||
// We need to be pedantic about reallocations for this testcase to be correct.
|
||||
// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
|
||||
#ifndef _GLIBCXX_DEBUG_PEDANTIC
|
||||
# define _GLIBCXX_DEBUG_PEDANTIC 1
|
||||
|
@ -19,7 +19,7 @@
|
||||
// USA.
|
||||
|
||||
// We need to be pedantic about reallocations for this testcase to be correct.
|
||||
// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
|
||||
#ifndef _GLIBCXX_DEBUG_PEDANTIC
|
||||
# define _GLIBCXX_DEBUG_PEDANTIC 1
|
||||
|
@ -19,7 +19,7 @@
|
||||
// USA.
|
||||
|
||||
// We need to be pedantic about reallocations for this testcase to be correct.
|
||||
// { dg-options "-D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -D_GLIBCXX_DEBUG_PEDANTIC" }
|
||||
|
||||
#ifndef _GLIBCXX_DEBUG_PEDANTIC
|
||||
# define _GLIBCXX_DEBUG_PEDANTIC 1
|
||||
|
@ -24,7 +24,7 @@
|
||||
// XXX This test will not work for irix6 because of bug(s) in libc malloc
|
||||
// XXX for very large allocations. However -lmalloc seems to work.
|
||||
// See http://gcc.gnu.org/ml/libstdc++/2002-12/msg00131.html
|
||||
// { dg-options "-lmalloc" { target mips*-*-irix6* } }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -lmalloc" { target mips*-*-irix6* } }
|
||||
|
||||
#include <vector>
|
||||
#include <stdexcept>
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-options "-O0" }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -O0" }
|
||||
// 2000-11-20
|
||||
// Benjamin Kosnik bkoz@redhat.com
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
// XXX bug(s) in libc malloc for very large allocations. However
|
||||
// XXX -lmalloc seems to work.
|
||||
// See http://gcc.gnu.org/ml/gcc/2002-05/msg01012.html
|
||||
// { dg-options "-lmalloc" { target mips*-*-irix6* } }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -lmalloc" { target mips*-*-irix6* } }
|
||||
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
@ -24,7 +24,7 @@
|
||||
// XXX bug(s) in libc malloc for very large allocations. However
|
||||
// XXX -lmalloc seems to work.
|
||||
// See http://gcc.gnu.org/ml/gcc/2002-05/msg01012.html
|
||||
// { dg-options "-lmalloc" { target mips*-*-irix6* } }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -lmalloc" { target mips*-*-irix6* } }
|
||||
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
@ -24,7 +24,7 @@
|
||||
// XXX bug(s) in libc malloc for very large allocations. However
|
||||
// XXX -lmalloc seems to work.
|
||||
// See http://gcc.gnu.org/ml/gcc/2002-05/msg01012.html
|
||||
// { dg-options "-lmalloc" { target mips*-*-irix6* } }
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -lmalloc" { target mips*-*-irix6* } }
|
||||
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
@ -1,3 +1,5 @@
|
||||
// { dg-options "-D_GLIBCXX_ASSERT -fno-implicit-templates" }
|
||||
|
||||
// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
@ -20,8 +22,6 @@
|
||||
// their own code with -fno-implicit-templates and not suffer from a zillion
|
||||
// link errors.
|
||||
|
||||
// { dg-options "-fno-implicit-templates" }
|
||||
|
||||
#include <fstream>
|
||||
#include <istream>
|
||||
#include <ostream>
|
||||
|
@ -1,3 +1,4 @@
|
||||
// { dg-options "-Wno-deprecated -D_GLIBCXX_ASSERT" }
|
||||
// Copyright (C) 2003 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
@ -19,8 +20,6 @@
|
||||
#include <strstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
// { dg-options "-Wno-deprecated" }
|
||||
|
||||
class Buf : public std::strstreambuf
|
||||
{
|
||||
public:
|
||||
|
@ -1,3 +1,4 @@
|
||||
// { dg-options "-Wno-deprecated" }
|
||||
// Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
@ -21,8 +22,6 @@
|
||||
#include <strstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
// { dg-options "-Wno-deprecated" }
|
||||
|
||||
void test01()
|
||||
{
|
||||
std::strstream s;
|
||||
|
Loading…
Reference in New Issue
Block a user