mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 21:33:44 +00:00
add a patch to build polly with -std=c++0x
This commit is contained in:
parent
3a1affa7a8
commit
a6362421ee
13
debian/patches/polly-c++0x.diff
vendored
Normal file
13
debian/patches/polly-c++0x.diff
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: llvm-3.2.src/polly/lib/CodeGen/LoopGenerators.cpp
|
||||||
|
===================================================================
|
||||||
|
--- llvm-3.2.src.orig/polly/lib/CodeGen/LoopGenerators.cpp 2012-11-01 17:45:18.000000000 +0100
|
||||||
|
+++ llvm-3.2.src/polly/lib/CodeGen/LoopGenerators.cpp 2013-01-24 12:37:56.801142541 +0100
|
||||||
|
@@ -226,7 +226,7 @@
|
||||||
|
for (unsigned i = 0; i < OldValues.size(); i++) {
|
||||||
|
Value *Address = Builder.CreateStructGEP(Struct, i);
|
||||||
|
Value *NewValue = Builder.CreateLoad(Address);
|
||||||
|
- Map.insert(std::make_pair<Value*, Value*>(OldValues[i], NewValue));
|
||||||
|
+ Map.insert(std::pair<Value*, Value*>(OldValues[i], NewValue));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -26,3 +26,5 @@ profile_rt.diff
|
|||||||
scan-build-clang-path.diff
|
scan-build-clang-path.diff
|
||||||
57-lldb-soname.diff
|
57-lldb-soname.diff
|
||||||
0050-powerpcspe-fp.diff
|
0050-powerpcspe-fp.diff
|
||||||
|
polly-c++0x.diff
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user