[Mesa-dev] [Bug 70150] Mesa downsizes to i32 the types ulong and long
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 4 16:25:42 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70150
--- Comment #2 from Tom Stellard <tstellar at gmail.com> ---
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__
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131004/23ce6d28/attachment.html>
More information about the mesa-dev
mailing list