mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
deallocate_global-2.c: s/value_t/value_type/.
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu> * testsuite/ext/mt_allocator/deallocate_global-2.c: s/value_t/value_type/. s/traits_t/traits_type/. s/policy_t/policy_type/. s/allocator_t/allocator_type/. s/string_t/string_type/. s/list_t/list_type/. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise. From-SVN: r89493
This commit is contained in:
committed by
Andrew Pinski
parent
66174cd035
commit
ed3eaab807
@@ -1,3 +1,17 @@
|
||||
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* testsuite/ext/mt_allocator/deallocate_global-2.c:
|
||||
s/value_t/value_type/. s/traits_t/traits_type/.
|
||||
s/policy_t/policy_type/. s/allocator_t/allocator_type/.
|
||||
s/string_t/string_type/. s/list_t/list_type/.
|
||||
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
|
||||
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
|
||||
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
|
||||
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
|
||||
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
|
||||
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
|
||||
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
|
||||
|
||||
2004-10-21 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* include/tr1/array (array): Make safe for zero-sized arrays.
|
||||
|
||||
@@ -66,14 +66,14 @@ void operator delete(void* p) throw()
|
||||
free(p);
|
||||
}
|
||||
|
||||
typedef std::string value_t;
|
||||
typedef __gnu_cxx::__common_pool_policy<false> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef std::list<value_t, allocator_t> list_t;
|
||||
typedef std::string value_type;
|
||||
typedef __gnu_cxx::__common_pool_policy<false> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
|
||||
typedef std::char_traits<value_type> traits_type;
|
||||
typedef std::list<value_type, allocator_type> list_type;
|
||||
|
||||
// Second.
|
||||
list_t l;
|
||||
list_type l;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@@ -67,13 +67,13 @@ void operator delete(void* p) throw()
|
||||
}
|
||||
|
||||
typedef std::string value_t;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_t, false> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef std::list<value_t, allocator_t> list_t;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_t, false> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_type> allocator_type;
|
||||
typedef std::char_traits<value_t> traits_type;
|
||||
typedef std::list<value_t, allocator_type> list_type;
|
||||
|
||||
// Second.
|
||||
list_t l;
|
||||
list_type l;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@@ -66,14 +66,14 @@ void operator delete(void* p) throw()
|
||||
free(p);
|
||||
}
|
||||
|
||||
typedef std::string value_t;
|
||||
typedef __gnu_cxx::__common_pool_policy<true> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef std::list<value_t, allocator_t> list_t;
|
||||
typedef std::string value_type;
|
||||
typedef __gnu_cxx::__common_pool_policy<true> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
|
||||
typedef std::char_traits<value_type> traits_type;
|
||||
typedef std::list<value_type, allocator_type> list_type;
|
||||
|
||||
// Second.
|
||||
list_t l;
|
||||
list_type l;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@@ -66,14 +66,14 @@ void operator delete(void* p) throw()
|
||||
free(p);
|
||||
}
|
||||
|
||||
typedef std::string value_t;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_t, true> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef std::list<value_t, allocator_t> list_t;
|
||||
typedef std::string value_type;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_type, true> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
|
||||
typedef std::char_traits<value_type> traits_type;
|
||||
typedef std::list<value_type, allocator_type> list_type;
|
||||
|
||||
// Second.
|
||||
list_t l;
|
||||
list_type l;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
|
||||
free(p);
|
||||
}
|
||||
|
||||
typedef char value_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef __gnu_cxx::__common_pool_policy<false> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::basic_string<value_t, traits_t, allocator_t> string_t;
|
||||
typedef char value_type;
|
||||
typedef std::char_traits<value_type> traits_type;
|
||||
typedef __gnu_cxx::__common_pool_policy<false> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
|
||||
typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
|
||||
|
||||
int main()
|
||||
{
|
||||
bool test __attribute__((unused)) = true;
|
||||
{
|
||||
string_t s;
|
||||
string_type s;
|
||||
s += "bayou bend";
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
|
||||
free(p);
|
||||
}
|
||||
|
||||
typedef char value_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_t, false> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::basic_string<value_t, traits_t, allocator_t> string_t;
|
||||
typedef char value_type;
|
||||
typedef std::char_traits<value_type> traits_type;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_type, false> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
|
||||
typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
|
||||
|
||||
int main()
|
||||
{
|
||||
bool test __attribute__((unused)) = true;
|
||||
{
|
||||
string_t s;
|
||||
string_type s;
|
||||
s += "bayou bend";
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
|
||||
free(p);
|
||||
}
|
||||
|
||||
typedef char value_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef __gnu_cxx::__common_pool_policy<true> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::basic_string<value_t, traits_t, allocator_t> string_t;
|
||||
typedef char value_type;
|
||||
typedef std::char_traits<value_type> traits_type;
|
||||
typedef __gnu_cxx::__common_pool_policy<true> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
|
||||
typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
|
||||
|
||||
int main()
|
||||
{
|
||||
bool test __attribute__((unused)) = true;
|
||||
{
|
||||
string_t s;
|
||||
string_type s;
|
||||
s += "bayou bend";
|
||||
}
|
||||
return 0;
|
||||
|
||||
@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
|
||||
free(p);
|
||||
}
|
||||
|
||||
typedef char value_t;
|
||||
typedef std::char_traits<value_t> traits_t;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_t, true> policy_t;
|
||||
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t;
|
||||
typedef std::basic_string<value_t, traits_t, allocator_t> string_t;
|
||||
typedef char value_type;
|
||||
typedef std::char_traits<value_type> traits_type;
|
||||
typedef __gnu_cxx::__per_type_pool_policy<value_type, true> policy_type;
|
||||
typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
|
||||
typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
|
||||
|
||||
int main()
|
||||
{
|
||||
bool test __attribute__((unused)) = true;
|
||||
{
|
||||
string_t s;
|
||||
string_type s;
|
||||
s += "bayou bend";
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user