<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Mesa downsizes to i32 the types ulong and long"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70150#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Mesa downsizes to i32 the types ulong and long"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70150">bug 70150</a>
from <span class="vcard"><a class="email" href="mailto:tstellar@gmail.com" title="Tom Stellard <tstellar@gmail.com>"> <span class="fn">Tom Stellard</span></a>
</span></b>
<pre>The type sizes are supposed to be controlled by the TargetInfo class.
TargetInfo::setForcedLangOptions() in clang/lib/basic/TargetInfo.cpp is where
the type sizes are set for OpenCL.
R600's TargetInfo is defined in clang/lib/basic/Target.cpp
Maybe there is a bug in one of these two places.
Also, if you invoke clang like this:
clang -cc1 -E -dM -ffreestanding -triple=r600-- -std=cl -o - < /dev/null
It will dump all of the default definitions for macros like __INT64_TYPE__</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>