gdb/ChangeLog
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.opencl / datatypes.exp
index 8dfcae043e004ce9b7307b6bf66f17d5a72888f3..0de92708cba32d264c7ec687d5f1b2debe85fe4e 100644 (file)
@@ -44,7 +44,7 @@ gdb_test_no_output "set language opencl" "No prompt when setting the language to
 
 # Check OpenCL data types (GDB)
 gdb_test "whatis bool" "type = bool"
-gdb_test "p sizeof(bool)" " = 4"
+gdb_test "p sizeof(bool)" " = 1"
 
 gdb_test "whatis char" "type = char"
 gdb_test "p sizeof(char)" " = 1"
@@ -229,7 +229,7 @@ set have_cl_khr_fp16 [get_integer_valueof "have_cl_khr_fp16" 0]
 
 # Check OpenCL data types (DWARF)
 gdb_test "whatis b" "type = bool"
-gdb_test "p sizeof(b)" " = 4"
+gdb_test "p sizeof(b)" " = 1"
 gdb_test "print b" " = 0"
 
 gdb_test "whatis c" "type = char"
This page took 0.026603 seconds and 4 git commands to generate.