https://bugs.freedesktop.org/show_bug.cgi?id=70150

--- Comment #2 from Tom Stellard <tstel...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to