Commit 802e8b38 by Paolo Carlini Committed by Paolo Carlini

re PR c++/58190 (FAIL: g++.dg/pr57878.C (test for excess errors) on x86_64-apple-darwin10)

2013-08-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58190
	* g++.dg/pr57878.C: Use __SIZE_TYPE__.

From-SVN: r201874
parent 8ccb81bd
2013-08-20 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58190
* g++.dg/pr57878.C: Use __SIZE_TYPE__.
2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com> 2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com>
PR c/57490 PR c/57490
* c-c++-common/cilk-plus/AN/pr57490.c: New test. * c-c++-common/cilk-plus/AN/pr57490.c: New test.
......
...@@ -6,7 +6,7 @@ typedef long long int64; ...@@ -6,7 +6,7 @@ typedef long long int64;
typedef unsigned int uint32; typedef unsigned int uint32;
typedef unsigned long long uint64; typedef unsigned long long uint64;
namespace std { namespace std {
typedef unsigned int size_t; typedef __SIZE_TYPE__ size_t;
template<class _CharT> template<class _CharT>
struct char_traits; struct char_traits;
template<typename _Tp> template<typename _Tp>
...@@ -22,7 +22,7 @@ namespace std { ...@@ -22,7 +22,7 @@ namespace std {
return static_cast<_Tp&&>(__t); return static_cast<_Tp&&>(__t);
} }
} }
typedef unsigned int size_t; typedef __SIZE_TYPE__ size_t;
extern "C++" { extern "C++" {
inline void* operator new(std::size_t, void* __p) noexcept { inline void* operator new(std::size_t, void* __p) noexcept {
return __p; return __p;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment