mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
Commented out the _Alloc_traits specialization entirely, as it is only
supported by specific versions of GCC. It is left in place in case anyone wants to updated it for GCC 3.4 or re-use it for earlier versions of GCC where it works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cd74271a79
commit
9ba883c22f
@ -72,7 +72,13 @@ inline bool operator!=(const MallocAllocator<T>&, const MallocAllocator<T>&) {
|
||||
}
|
||||
} // End llvm namespace
|
||||
|
||||
#if defined(__linux__) && !(defined (sparc) || defined (_sparc))
|
||||
/*
|
||||
* This specialization was used for optimization earlier, but doesn't appear
|
||||
* to work with newer versions of GCC, Linux or otherwise.
|
||||
*
|
||||
* This can be re-enabled if desired, but by default, it won't be included.
|
||||
*/
|
||||
#if 0
|
||||
namespace std {
|
||||
template<typename Type, typename Type2>
|
||||
struct _Alloc_traits<Type, ::llvm::MallocAllocator<Type2> > {
|
||||
|
Loading…
x
Reference in New Issue
Block a user