Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r69752:9d10c1b98ba3
Date: 2014-03-06 10:13 +0100
http://bitbucket.org/pypy/pypy/changeset/9d10c1b98ba3/

Log:    Fix for a mixture of __thread prebuilt data and address_space stuff
        that may or may not be a bug in clang.

diff --git a/rpython/translator/c/database.py b/rpython/translator/c/database.py
--- a/rpython/translator/c/database.py
+++ b/rpython/translator/c/database.py
@@ -234,7 +234,8 @@
                     node._funccodegen_owner = funcgen
                 return node.getptrname()
             else:
-                return '((%s) NULL)' % (cdecl(self.gettype(T), ''), )
+                return 'NULL'
+                #return '((%s) NULL)' % (cdecl(self.gettype(T), ''), )
         else:
             raise Exception("don't know about %r" % (obj,))
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to