Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1063:4574e37f7ae6
Date: 2014-03-18 09:34 +0100
http://bitbucket.org/pypy/stmgc/changeset/4574e37f7ae6/
Log: Change the example to not rely on globals in strange address spaces
diff --git a/c7/llvmfix/README.txt b/c7/llvmfix/README.txt
--- a/c7/llvmfix/README.txt
+++ b/c7/llvmfix/README.txt
@@ -19,6 +19,6 @@
This is a workaround for (what we believe to be) clang producing
incorrectly the addrspacecast operation for this kind of code:
- static __attribute__((address_space(256))) long a = 42;
- struct s1 { void *a; };
- struct s1 fofo = { (void *)(long)&a };
+ static int a = 42;
+ struct s1 { void __attribute__((address_space(256))) *a; };
+ struct s1 fofo = { (void __attribute__((address_space(256))) *)(long)&a };
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit