Commits

Armin Rigo committed 9d10c1b

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

Comments (0)

Files changed (1)

rpython/translator/c/database.py

                     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,))