[patch] OpenCL bool size fix

Ulrich Weigand uweigand@de.ibm.com
Tue Feb 15 20:01:00 GMT 2011


Ken Werner wrote:

> gdb/ChangeLog
> 
> 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
> 
> 	* opencl-lang.c (build_opencl_types): Set the size of the built-in
> 	bool data type to a size of one byte.
> 
> gdb/testsuite/ChangeLog
> 
> 2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
> 
> 	* gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.

This is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list