2026-05-04 08:32 ftp://ftp.de.debian.org/debian/pool/main/p/pocl/pocl_7.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opencv2 --library=openmp --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 2765 2480 elapsed-time: 51.7 46.5 head-timing-info: old-timing-info: head results: pocl-pocl-0a2e04a/bin/poclcc.c:109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/bin/poclcc.c:163:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_CPU [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/bin/poclcc.c:206:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/bin/poclcc.c:338:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_VENDOR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/bin/poclcc.c:115:14: warning: If memory allocation fails, then there is a possible null pointer dereference: output_file [nullPointerOutOfMemory] pocl-pocl-0a2e04a/bin/poclcc.c:114:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/bin/poclcc.c:114:28: note: Assignment 'output_file=malloc(strlen(filename)+strlen(ext)+2)', assigned value is 0 pocl-pocl-0a2e04a/bin/poclcc.c:115:14: note: Null pointer dereference pocl-pocl-0a2e04a/bin/poclcc.c:116:14: warning: If memory allocation fails, then there is a possible null pointer dereference: output_file [nullPointerOutOfMemory] pocl-pocl-0a2e04a/bin/poclcc.c:114:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/bin/poclcc.c:114:28: note: Assignment 'output_file=malloc(strlen(filename)+strlen(ext)+2)', assigned value is 0 pocl-pocl-0a2e04a/bin/poclcc.c:116:14: note: Null pointer dereference pocl-pocl-0a2e04a/bin/poclcc.c:89:20: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/bin/poclcc.c:105:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/bin/poclcc.c:161:9: style: Variable 'opencl_string' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/bin/poclcc.c:253:22: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/bin/spirv_fix_atomic_compare_exchange.cc:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/bin/spirv_fix_atomic_compare_exchange.cc:59:53: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/bin/spirv_fix_atomic_compare_exchange.cc:37:26: style: Parameter 'Argv' can be declared as const array [constParameter] pocl-pocl-0a2e04a/bin/spirv_fix_atomic_compare_exchange.cc:45:21: style: Unused variable: OutputSize [unusedVariable] pocl-pocl-0a2e04a/cmake/LinkTestClang.cc:60:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSPOff [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/cmake/MaxSPIRVversion.cc:6:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaximumVersion [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:438:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_COPY_HOST_PTR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:469:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_platform_id [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:996:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_COPY_HOST_PTR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1123:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_mem [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1491:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:486:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platform_ids [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:469:16: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:469:16: note: Assignment 'platform_ids=malloc(sizeof(cl_platform_id)*num_platforms)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:486:44: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:495:45: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platform_name [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:492:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:492:34: note: Assignment 'platform_name=malloc(platform_name_length)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:495:45: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:504:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platform_vendor [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:501:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:501:36: note: Assignment 'platform_vendor=malloc(platform_vendor_length)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:504:47: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:530:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: device_ids [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:526:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:526:37: note: Assignment 'device_ids=malloc(sizeof(cl_device_id)*ndevice_ids)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:530:20: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:539:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: device_extensions [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:536:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:536:36: note: Assignment 'device_extensions=malloc(device_extensions_legth)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:539:16: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:581:38: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: device_name [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:578:30: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:578:30: note: Assignment 'device_name=malloc(device_name_length)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:581:38: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:592:40: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platform_name [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:589:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:589:32: note: Assignment 'platform_name=malloc(platform_name_length)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:592:40: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:600:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platform_vendor [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:597:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:597:34: note: Assignment 'platform_vendor=malloc(platform_vendor_length)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:600:42: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:643:98: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: build_log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:635:30: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:635:30: note: Assignment 'build_log=malloc(log_size)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:643:98: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1461:9: warning: If memory allocation fails, then there is a possible null pointer dereference: source1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1460:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1460:26: note: Assignment 'source1=malloc(source1_size+1)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1461:9: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1471:9: warning: If memory allocation fails, then there is a possible null pointer dereference: source2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1470:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1470:26: note: Assignment 'source2=malloc(source2_size+1)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1471:9: note: Null pointer dereference pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1007:38: style: Parameter 'cctkGH' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1410:37: style: Parameter 'cctkGH' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/examples/accel/OpenCLcontext.cpp:210:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NullRange [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/accel/OpenCLcontext.cpp:324:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/accel/OpenCLcontext.cpp:191:17: warning: Member variable 'OpenCL_Manager::isValid' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/examples/accel/OpenCLcontext.cpp:143:5: warning: Member variable 'OpenCL_Context::InputBufferSize' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/examples/accel/accel_countred.cpp:59:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:70:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:246:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:247:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:248:23: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:268:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:269:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:270:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/accel/accel_example.cpp:85:17: style: The scope of the variable 'known_kernels' can be reduced. [variableScope] pocl-pocl-0a2e04a/examples/accel/firmware.c:267:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_CDBI_COPY_I8 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/accel/firmware.c:180:19: error: Null pointer dereference: queue_info [nullPointer] pocl-pocl-0a2e04a/examples/accel/firmware.c:179:9: note: Assignment 'queue_info=(struct AQLQueueInfo*)0', assigned value is 0 pocl-pocl-0a2e04a/examples/accel/firmware.c:180:19: note: Null pointer dereference pocl-pocl-0a2e04a/examples/accel/firmware.c:324:7: error: Null pointer dereference: queue_info [nullPointer] pocl-pocl-0a2e04a/examples/accel/firmware.c:179:9: note: Assignment 'queue_info=(struct AQLQueueInfo*)0', assigned value is 0 pocl-pocl-0a2e04a/examples/accel/firmware.c:324:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/accel/firmware.c:205:45: style: Variable 'signal' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/examples/accel/firmware.c:95:12: style: struct member 'AQLQueueInfo::type' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:96:12: style: struct member 'AQLQueueInfo::features' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:98:12: style: struct member 'AQLQueueInfo::base_address_low' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:99:12: style: struct member 'AQLQueueInfo::base_address_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:100:12: style: struct member 'AQLQueueInfo::doorbell_signal_low' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:101:12: style: struct member 'AQLQueueInfo::doorbell_signal_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:103:12: style: struct member 'AQLQueueInfo::size' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:104:12: style: struct member 'AQLQueueInfo::reserved0' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:106:12: style: struct member 'AQLQueueInfo::id_low' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:107:12: style: struct member 'AQLQueueInfo::id_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:109:21: style: struct member 'AQLQueueInfo::write_index_low' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:110:21: style: struct member 'AQLQueueInfo::write_index_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:113:12: style: struct member 'AQLQueueInfo::read_index_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:115:12: style: struct member 'AQLQueueInfo::reserved1' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:116:12: style: struct member 'AQLQueueInfo::reserved2' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:121:12: style: struct member 'CommandMetadata::completion_signal' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:122:12: style: struct member 'CommandMetadata::reserved0' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:123:12: style: struct member 'CommandMetadata::start_timestamp_l' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:124:12: style: struct member 'CommandMetadata::start_timestamp_h' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:125:12: style: struct member 'CommandMetadata::finish_timestamp_l' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:126:12: style: struct member 'CommandMetadata::finish_timestamp_h' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:127:12: style: struct member 'CommandMetadata::reserved1' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:128:12: style: struct member 'CommandMetadata::reserved2' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:136:12: style: struct member 'AQLDispatchPacket::workgroup_size_x' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:137:12: style: struct member 'AQLDispatchPacket::workgroup_size_y' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:138:12: style: struct member 'AQLDispatchPacket::workgroup_size_z' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:140:12: style: struct member 'AQLDispatchPacket::reserved0' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:146:12: style: struct member 'AQLDispatchPacket::private_segment_size' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:147:12: style: struct member 'AQLDispatchPacket::group_segment_size' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:149:12: style: struct member 'AQLDispatchPacket::kernel_object_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:151:12: style: struct member 'AQLDispatchPacket::kernarg_address_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:153:12: style: struct member 'AQLDispatchPacket::reserved1' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:154:12: style: struct member 'AQLDispatchPacket::reserved2' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:157:12: style: struct member 'AQLDispatchPacket::completion_signal_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:162:12: style: struct member 'AQLAndPacket::header' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:163:12: style: struct member 'AQLAndPacket::reserved0' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:164:12: style: struct member 'AQLAndPacket::reserved1' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:168:12: style: struct member 'AQLAndPacket::signal_count_low' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:169:12: style: struct member 'AQLAndPacket::signal_count_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:171:12: style: struct member 'AQLAndPacket::completion_signal_low' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/firmware.c:172:12: style: struct member 'AQLAndPacket::completion_signal_high' is never used. [unusedStructMember] pocl-pocl-0a2e04a/examples/accel/hls/poclAccel.cpp:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEM_MAX_SIZE_BYTES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/accel/hls/poclAccel.cpp:140:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/examples/accel/hls/poclAccel.cpp:140:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/examples/accel/hls/poclAccel.cpp:122:15: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/examples/accel/hls/poclAccel.cpp:156:16: style: Variable 'arg_addr' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:78:11: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:69:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:69:10: note: Assignment 'srcA=(cl_float*)malloc((1230*412*8)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:78:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:79:11: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:70:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:70:10: note: Assignment 'srcB=(cl_float*)malloc((1230*412*8)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:79:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:80:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:71:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:71:9: note: Assignment 'dst=(cl_float*)malloc((1230*412*8)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:80:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:64:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:60:7: note: err is assigned pocl-pocl-0a2e04a/examples/boxadd/boxadd.c:64:7: note: err is overwritten pocl-pocl-0a2e04a/examples/boxadd/boxadd_exec.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/boxadd/boxadd_exec.c:114:3: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/examples/boxadd/boxadd_exec.c:56:9: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/examples/example0/example0.c:84:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_PLATFORM_NAME [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/example0/example0.c:87:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example0/example0.c:83:27: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example0/example0.c:83:27: note: Assignment 'info_buf=malloc(1024)', assigned value is 0 pocl-pocl-0a2e04a/examples/example0/example0.c:87:34: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example0/example0.c:91:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example0/example0.c:83:27: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example0/example0.c:83:27: note: Assignment 'info_buf=malloc(1024)', assigned value is 0 pocl-pocl-0a2e04a/examples/example0/example0.c:91:37: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example0/example0.c:109:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example0/example0.c:103:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example0/example0.c:103:10: note: Assignment 'srcA=(cl_uint*)calloc(128,sizeof(cl_uint))', assigned value is 0 pocl-pocl-0a2e04a/examples/example0/example0.c:109:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example0/example0.c:110:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example0/example0.c:104:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example0/example0.c:104:10: note: Assignment 'srcB=(cl_uint*)calloc(128,sizeof(cl_uint))', assigned value is 0 pocl-pocl-0a2e04a/examples/example0/example0.c:110:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example0/example0.c:111:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example0/example0.c:105:27: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example0/example0.c:105:9: note: Assignment 'dst=(cl_uint*)calloc(128,sizeof(cl_uint))', assigned value is 0 pocl-pocl-0a2e04a/examples/example0/example0.c:111:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example0/example0.c:145:24: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/examples/example0/example0.c:142:27: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example0/example0.c:142:27: note: Assignment 'f=fopen("golden_output.txt","w")', assigned value is 0 pocl-pocl-0a2e04a/examples/example0/example0.c:145:24: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example0/example0.c:147:19: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/examples/example0/example0.c:142:27: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example0/example0.c:142:27: note: Assignment 'f=fopen("golden_output.txt","w")', assigned value is 0 pocl-pocl-0a2e04a/examples/example0/example0.c:147:19: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example0/example0.c:84:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/example0/example0.c:80:7: note: err is assigned pocl-pocl-0a2e04a/examples/example0/example0.c:84:7: note: err is overwritten pocl-pocl-0a2e04a/examples/example0/example0.c:88:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/example0/example0.c:84:7: note: err is assigned pocl-pocl-0a2e04a/examples/example0/example0.c:88:7: note: err is overwritten pocl-pocl-0a2e04a/examples/example0/example0.c:98:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/example0/example0.c:88:7: note: err is assigned pocl-pocl-0a2e04a/examples/example0/example0.c:98:7: note: err is overwritten pocl-pocl-0a2e04a/examples/example0/example0_exec.c:22:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/example0/example0_exec.c:75:3: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/examples/example0/example0_exec.c:23:9: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/examples/example1/example1.c:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/example1/example1.c:89:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:83:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:83:10: note: Assignment 'srcA=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:89:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:90:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:83:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:83:10: note: Assignment 'srcA=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:90:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:91:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:83:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:83:10: note: Assignment 'srcA=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:91:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:92:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:83:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:83:10: note: Assignment 'srcA=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:92:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:93:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:84:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:84:10: note: Assignment 'srcB=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:93:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:94:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:84:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:84:10: note: Assignment 'srcB=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:94:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:95:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:84:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:84:10: note: Assignment 'srcB=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:95:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:96:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:84:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:84:10: note: Assignment 'srcB=(cl_float4*)malloc(4*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:96:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:97:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example1/example1.c:85:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example1/example1.c:85:9: note: Assignment 'dst=(cl_float*)malloc(4*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/example1/example1.c:97:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example1/example1.c:76:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/example1/example1.c:64:7: note: err is assigned pocl-pocl-0a2e04a/examples/example1/example1.c:76:7: note: err is overwritten pocl-pocl-0a2e04a/examples/example1/example1_exec.c:21:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/example1/example1_exec.c:68:3: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/examples/example1/example1_exec.c:22:9: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/examples/example2/example2.c:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/example2/example2.c:74:7: warning: If memory allocation fails, then there is a possible null pointer dereference: input [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example2/example2.c:67:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example2/example2.c:67:11: note: Assignment 'input=(cl_float*)malloc(256*4096*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/example2/example2.c:74:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example2/example2.c:76:7: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example2/example2.c:68:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example2/example2.c:68:12: note: Assignment 'output=(cl_float*)malloc(256*(4096+32)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/example2/example2.c:76:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example2/example2.c:62:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/example2/example2.c:54:7: note: err is assigned pocl-pocl-0a2e04a/examples/example2/example2.c:62:7: note: err is overwritten pocl-pocl-0a2e04a/examples/example2a/example2a.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/example2a/example2a.c:76:7: warning: If memory allocation fails, then there is a possible null pointer dereference: input [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example2a/example2a.c:69:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example2a/example2a.c:69:11: note: Assignment 'input=(cl_float*)malloc(256*4096*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/example2a/example2a.c:76:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example2a/example2a.c:78:7: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/example2a/example2a.c:70:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/example2a/example2a.c:70:12: note: Assignment 'output=(cl_float*)malloc(256*(4096+32)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/example2a/example2a.c:78:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/example2a/example2a.c:63:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/example2a/example2a.c:55:7: note: err is assigned pocl-pocl-0a2e04a/examples/example2a/example2a.c:63:7: note: err is overwritten pocl-pocl-0a2e04a/examples/matadd/matadd.c:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/matadd/matadd.c:75:2: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matadd/matadd.c:67:30: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matadd/matadd.c:67:10: note: Assignment 'srcA=(cl_float*)malloc((16*16)*(8*16)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/matadd/matadd.c:75:2: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matadd/matadd.c:76:2: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matadd/matadd.c:68:30: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matadd/matadd.c:68:10: note: Assignment 'srcB=(cl_float*)malloc((16*16)*(8*16)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/matadd/matadd.c:76:2: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matadd/matadd.c:77:2: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matadd/matadd.c:69:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matadd/matadd.c:69:9: note: Assignment 'dst=(cl_float*)malloc((16*16)*(8*16)*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/matadd/matadd.c:77:2: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matadd/matadd.c:62:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/matadd/matadd.c:58:7: note: err is assigned pocl-pocl-0a2e04a/examples/matadd/matadd.c:62:7: note: err is overwritten pocl-pocl-0a2e04a/examples/matadd/matadd_exec.c:43:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/matadd/matadd_exec.c:90:2: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/examples/matadd/matadd_exec.c:44:7: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:212:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:358:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:440:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:258:11: warning: Either the condition 'explicit_binary_path' is redundant or there is possible null pointer dereference: explicit_binary_path. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:260:7: note: Assuming that condition 'explicit_binary_path' is not redundant pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:258:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:422:11: warning: If memory allocation fails, then there is a possible null pointer dereference: sums [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:411:25: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:411:10: note: Assignment 'sums=(long*)calloc(matrix_size,sizeof(long))', assigned value is 0 pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:422:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:424:11: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:408:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:408:10: note: Assignment 'srcA=(cl_float*)malloc(matrix_2d_size*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:424:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:425:11: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:409:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:409:10: note: Assignment 'srcB=(cl_float*)malloc(matrix_2d_size*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:425:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:426:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:410:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:410:9: note: Assignment 'dst=(cl_float*)malloc(matrix_2d_size*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:426:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:436:22: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:408:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:408:10: note: Assignment 'srcA=(cl_float*)malloc(matrix_2d_size*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:436:22: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:436:32: warning: If memory allocation fails, then there is a possible null pointer dereference: sums [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:411:25: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:411:10: note: Assignment 'sums=(long*)calloc(matrix_size,sizeof(long))', assigned value is 0 pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:436:32: note: Null pointer dereference pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:268:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:207:7: note: err is assigned pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:268:7: note: err is overwritten pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:272:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:268:7: note: err is assigned pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:272:7: note: err is overwritten pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:403:5: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:272:7: note: err is assigned pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:403:5: note: err is overwritten pocl-pocl-0a2e04a/examples/matrix1/matrix1.c:168:1: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/examples/measure_overhead/common.cc:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:41:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:56:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:94:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:157:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:201:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:426:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:332:19: style: Local variable 'step' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:303:12: note: Shadowed declaration pocl-pocl-0a2e04a/examples/measure_overhead/measure_distributed_matmul.cc:332:19: note: Shadow variable pocl-pocl-0a2e04a/examples/measure_overhead/measure_migration_overhead.cc:51:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_migration_overhead.cc:88:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_migration_overhead.cc:118:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_migration_overhead.cc:232:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_migration_overhead.cc:335:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_migration_overhead.cc:279:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/examples/measure_overhead/measure_round_trip_overhead.cc:44:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_round_trip_overhead.cc:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_round_trip_overhead.cc:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_round_trip_overhead.cc:155:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_round_trip_overhead.cc:204:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_round_trip_overhead.cc:240:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/measure_overhead/measure_round_trip_overhead.cc:172:25: style: Variable 'err' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:93:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:118:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:182:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:268:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:285:5: style: Exception should be caught by reference. [catchExceptionByValue] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:279:20: style: Redundant assignment of 'final_CPU' to itself. [selfAssignment] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:83:9: style: The scope of the variable 'difference' can be reduced. [variableScope] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:229:13: style: Local variable 'k' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:51:17: note: Shadowed declaration pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:229:13: note: Shadow variable pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:79:28: performance: Function parameter 'prefix' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:79:43: style: Parameter 'device_results' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:79:66: style: Parameter 'host_results' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:248:26: style: Parameter 'argv' can be declared as const array [constParameter] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:83:20: style: Variable 'difference' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:84:16: style: Variable 'norm2' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/1d_HeatTransfer/src/1d_HeatTransfer.cpp:97:11: style: Variable 'norm2' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:19:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:114:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:219:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:18:14: warning: Member variable 'GSimulation::kenergy_' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:18:14: warning: Member variable 'GSimulation::total_time_' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:18:14: warning: Member variable 'GSimulation::total_flops_' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:218:19: style:inconclusive: Technically the member function 'GSimulation::PrintHeader' can be const. [functionConst] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.hpp:62:8: note: Technically the member function 'GSimulation::PrintHeader' can be const. pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:218:19: note: Technically the member function 'GSimulation::PrintHeader' can be const. pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:38:22: style: Unused variable: rd [unusedVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:52:22: style: Unused variable: rd [unusedVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/GSimulation.cpp:76:22: style: Unused variable: rd [unusedVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/main.cpp:12:7: style: The scope of the variable 'n' can be reduced. [variableScope] pocl-pocl-0a2e04a/examples/oneapi-samples/src/Nbody/src/main.cpp:13:7: style: The scope of the variable 'nstep' can be reduced. [variableScope] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:210:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:215:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:246:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:267:19: warning: If memory allocation fails, then there is a possible null pointer dereference: data_gpu [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:261:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:261:19: note: Assignment 'data_gpu=(int*)std::malloc(size*sizeof(int))', assigned value is 0 pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:267:19: note: Null pointer dereference pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:267:33: warning: If memory allocation fails, then there is a possible null pointer dereference: data_cpu [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:254:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:254:19: note: Assignment 'data_cpu=(int*)std::malloc(size*sizeof(int))', assigned value is 0 pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:267:33: note: Null pointer dereference pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:313:60: warning: If memory allocation fails, then there is a possible null pointer dereference: data_cpu [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:254:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:254:19: note: Assignment 'data_cpu=(int*)std::malloc(size*sizeof(int))', assigned value is 0 pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:313:60: note: Null pointer dereference pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:318:10: warning: If memory allocation fails, then there is a possible null pointer dereference: data_gpu [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:261:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:261:19: note: Assignment 'data_gpu=(int*)std::malloc(size*sizeof(int))', assigned value is 0 pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:313:41: note: Assuming condition is false pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:318:10: note: Null pointer dereference pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:318:24: warning: If memory allocation fails, then there is a possible null pointer dereference: data_gpu [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:261:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:261:19: note: Assignment 'data_gpu=(int*)std::malloc(size*sizeof(int))', assigned value is 0 pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:313:41: note: Assuming condition is false pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:318:24: note: Null pointer dereference pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:254:19: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:261:19: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:214:19: performance: Function parameter 'prog_name' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:209:23: style: Parameter 'a' can be declared as const array [constParameter] pocl-pocl-0a2e04a/examples/oneapi-samples/src/bitonic-sort/src/bitonic-sort.cpp:225:26: style: Parameter 'argv' can be declared as const array [constParameter] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:51:7: warning: If memory allocation fails, then there is a possible null pointer dereference: A [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:41:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:41:15: note: Assignment 'A=(double*)malloc(total_size*sizeof(double))', assigned value is 0 pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:51:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:41:15: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:43:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:44:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_openmp_multidevice.cpp:123:17: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_sycl_multidevice.cpp:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_sycl_multidevice.cpp:34:84: style: Parameter 'sub' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_sycl_multidevice.cpp:134:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:132:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:161:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:237:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write_only [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/main.cpp:24:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/main.cpp:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/main.cpp:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:99:8: style:inconclusive: Technically the member function 'Mandel::WriteImage' can be const. [functionConst] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:130:8: style:inconclusive: Technically the member function 'Mandel::Print' can be const. [functionConst] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:158:8: style:inconclusive: Technically the member function 'Mandel::Verify' can be const. [functionConst] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:265:16: style: Virtual function 'Alloc' is called from constructor 'MandelParallelUsm(int row_count,int col_count,int max_iterations,queue*q)' at line 260. Dynamic binding is not used. [virtualCallInConstructor] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:260:5: note: Calling Alloc pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:265:16: note: Alloc is a virtual function pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:270:16: style: Virtual function 'Free' is called from destructor '~MandelParallelUsm()' at line 263. Dynamic binding is not used. [virtualCallInConstructor] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:263:26: note: Calling Free pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:270:16: note: Free is a virtual function pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:200:4: style: The destructor '~MandelSerial' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:93:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:200:4: note: Destructor in derived class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:223:4: style: The destructor '~MandelParallel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:93:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:223:4: note: Destructor in derived class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:263:4: style: The destructor '~MandelParallelUsm' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:93:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:263:4: note: Destructor in derived class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:265:16: style: The function 'Alloc' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:94:16: note: Virtual function in base class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:265:16: note: Function in derived class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:270:16: style: The function 'Free' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:95:16: note: Virtual function in base class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:270:16: note: Function in derived class pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:158:23: style: Parameter 'm' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-buffers.cpp:93:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-buffers.cpp:39:34: style: Local variable 'e' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-buffers.cpp:35:34: note: Shadowed declaration pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-buffers.cpp:39:34: note: Shadow variable pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-usm.cpp:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-usm.cpp:39:34: style: Local variable 'e' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-usm.cpp:35:34: note: Shadowed declaration pocl-pocl-0a2e04a/examples/oneapi-samples/src/simple-add/src/simple-add-usm.cpp:39:34: note: Shadow variable pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-buffers.cpp:75:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable read_only [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-buffers.cpp:118:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-buffers.cpp:44:34: style: Local variable 'e' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-buffers.cpp:40:34: note: Shadowed declaration pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-buffers.cpp:44:34: note: Shadow variable pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-buffers.cpp:104:26: style: Parameter 'argv' can be declared as const array [constParameter] pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-usm.cpp:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_selector_v [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-usm.cpp:41:34: style: Local variable 'e' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-usm.cpp:37:34: note: Shadowed declaration pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-usm.cpp:41:34: note: Shadow variable pocl-pocl-0a2e04a/examples/oneapi-samples/src/vector-add/src/vector-add-usm.cpp:80:26: style: Parameter 'argv' can be declared as const array [constParameter] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:93:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_READ_ONLY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:132:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:105:58: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:106:59: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:107:59: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:108:59: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:132:9: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:133:4: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:36:56: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_initCL' argument 1 names different: declaration '' definition 'je'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:36:68: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_initCL' argument 2 names different: declaration '' definition 'jo'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:71:59: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_destroyCL' argument 1 names different: declaration '' definition 'je'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:71:71: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_destroyCL' argument 2 names different: declaration '' definition 'jo'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:82:61: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 1 names different: declaration '' definition 'je'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:82:74: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 2 names different: declaration '' definition 'jo'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:12: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 3 names different: declaration '' definition 'N'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:27: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 4 names different: declaration '' definition '_A'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:43: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 5 names different: declaration '' definition '_B'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:59: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 6 names different: declaration '' definition '_C'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:129:56: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 1 names different: declaration '' definition 'jniEnv'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:130:15: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 2 names different: declaration '' definition '_jObj'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:130:30: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 3 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:130:43: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:50:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_COPY_HOST_PTR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:128:9: warning: If resource allocation fails, then there is a possible null pointer dereference: source_file [nullPointerOutOfResources] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assignment 'source_file=fopen(SRCDIR"/examples/scalarwave/scalarwave.cl","rb")', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:128:9: note: Null pointer dereference pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:133:9: warning: If memory allocation fails, then there is a possible null pointer dereference: source [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:132:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:132:18: note: Assignment 'source=(char*)malloc(source_size+1)', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:133:9: note: Null pointer dereference pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:182:9: warning: If memory allocation fails, then there is a possible null pointer dereference: phi [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:161:12: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:160:33: note: Assignment 'phi=(cl_double*)malloc(grid.ai*grid.aj*grid.ak*sizeof(*phi))', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:182:9: note: Null pointer dereference pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:183:9: warning: If memory allocation fails, then there is a possible null pointer dereference: phi_p [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:163:12: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:162:33: note: Assignment 'phi_p=(cl_double*)malloc(grid.ai*grid.aj*grid.ak*sizeof(*phi_p))', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:183:9: note: Null pointer dereference pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:202:15: style: Local variable 'ierr' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:143:7: note: Shadowed declaration pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:202:15: note: Shadow variable pocl-pocl-0a2e04a/examples/trig/trig.c:50:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/trig/trig.c:72:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/trig/trig.c:66:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/trig/trig.c:66:10: note: Assignment 'srcA=(cl_float4*)malloc(8*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/trig/trig.c:72:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/trig/trig.c:73:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/trig/trig.c:66:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/trig/trig.c:66:10: note: Assignment 'srcA=(cl_float4*)malloc(8*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/trig/trig.c:73:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/trig/trig.c:74:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/trig/trig.c:66:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/trig/trig.c:66:10: note: Assignment 'srcA=(cl_float4*)malloc(8*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/trig/trig.c:74:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/trig/trig.c:75:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/trig/trig.c:66:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/trig/trig.c:66:10: note: Assignment 'srcA=(cl_float4*)malloc(8*sizeof(cl_float4))', assigned value is 0 pocl-pocl-0a2e04a/examples/trig/trig.c:75:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/trig/trig_exec.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_DEVICES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/trig/trig_exec.c:41:45: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: devices [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/trig/trig_exec.c:37:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/trig/trig_exec.c:37:13: note: Assignment 'devices=(cl_device_id*)malloc(cb)', assigned value is 0 pocl-pocl-0a2e04a/examples/trig/trig_exec.c:41:45: note: Null pointer dereference pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:90:11: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:84:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:84:14: note: Assignment 'srcA=(cl_float*)malloc(vec_width*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:90:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:91:11: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:85:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:85:14: note: Assignment 'srcB=(cl_float*)malloc(vec_width*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:91:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:92:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:86:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:86:13: note: Assignment 'dst=(cl_float*)malloc(vec_width*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:92:11: note: Null pointer dereference pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:61:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:57:7: note: err is assigned pocl-pocl-0a2e04a/examples/vecadd/vecadd.c:61:7: note: err is overwritten pocl-pocl-0a2e04a/examples/vecadd/vecadd_exec.c:21:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/vecadd/vecadd_exec.c:68:2: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/examples/vecadd/vecadd_exec.c:22:7: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:74:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcA [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:68:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:68:10: note: Assignment 'srcA=(cl_float*)malloc(8192*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:74:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:75:7: warning: If memory allocation fails, then there is a possible null pointer dereference: srcB [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:69:29: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:69:10: note: Assignment 'srcB=(cl_float*)malloc(8192*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:75:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:76:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:70:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:70:9: note: Assignment 'dst=(cl_float*)malloc(8192*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:76:7: note: Null pointer dereference pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:60:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:56:7: note: err is assigned pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:60:7: note: err is overwritten pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin.c:65:7: style: Unused variable: l [unusedVariable] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin_exec.c:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin_exec.c:92:1: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/examples/vecbuiltin/vecbuiltin_exec.c:46:7: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/lib/CL/clBuildProgram.c:32:45: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:36:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:114:33: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:115:38: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:115:41: style: Variable 'pi' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clCommandBarrierWithWaitListKHR.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandCopyBufferKHR.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandCopyBufferRectKHR.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandCopyBufferToImageKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandCopyImageKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandCopyImageToBufferKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandFillBufferKHR.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandFillImageKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandNDRangeKernelKHR.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandNDRangeKernelKHR.c:40:18: style: Variable 'errcode' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clCommandReadBufferPOCL.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandReadBufferRectPOCL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandReadImagePOCL.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemFillKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemcpyKHR.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemcpyPOCL.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemcpyRectPOCL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemfillPOCL.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemfillRectPOCL.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandWriteBufferPOCL.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandWriteBufferRectPOCL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCommandWriteImagePOCL.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCompileProgram.c:35:47: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:313:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:363:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:414:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:171:16: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:45:12: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:171:16: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:200:16: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:45:12: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:200:16: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:284:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:318:21: style: Variable 'item' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:206:19: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clCreateCommandBufferKHR.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateCommandBufferKHR.c:95:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueue.c:37:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueueWithProperties.c:34:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueueWithProperties.c:203:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueueWithProperties.c:198:34: style: Parameter 'old_properties' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clCreateContext.c:133:37: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clCreateContext.c:41:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateContext.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateContext.c:38:22: style: Variable 'num_properties' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clCreateContextFromType.c:35:44: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clCreateContextFromType.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateContextFromType.c:68:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clCreateFromEGLImageKHR.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateFromGLTexture.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateFromGLTexture2D.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateFromGLTexture3D.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateImage.c:42:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateImage.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROPERTY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateImage.c:234:27: style: Variable 'item' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clCreateImage2D.c:39:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_IMAGE2D [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateImage3D.c:39:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_IMAGE3D [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateKernel.c:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateKernelsInProgram.c:20:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreatePipe.c:39:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithBinary.c:47:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithBuiltInKernels.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithBuiltInKernels.c:48:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithDefinedBuiltInKernels.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithIL.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithIL.c:73:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithSource.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateSampler.c:36:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateSampler.c:101:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:184:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:183:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:183:7: note: Assignment 'sub_buf=(struct cl_mem_list_item_t*)calloc(1,sizeof(struct cl_mem_list_item_t))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:184:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:242:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:222:43: style: Variable 'parent_locked' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clCreateSubDevices.c:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clCreateUserEvent.c:12:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueAcquireEGLObjectsKHR.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueAcquireEGLObjectsKHR.c:32:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueAcquireGLObjects.c:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueAcquireGLObjects.c:31:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueBarrier.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueBarrierWithWaitList.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:165:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:167:36: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:178:20: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:178:20: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:182:30: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:182:30: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:30: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:30: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:47: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:47: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:201:56: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:201:56: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:36:55: style: Parameter 'queues' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBuffer.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBuffer.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBuffer.c:174:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferRect.c:50:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_COPY_BUFFER_RECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferRect.c:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferRect.c:70:16: style: Variable 'dev' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferToImage.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferToImage.c:135:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferToImage.c:99:16: style: Variable 'dev' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImage.c:25:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_COPY_IMAGE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImage.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImage.c:37:20: style: Variable 'dev' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImageToBuffer.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImageToBuffer.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImageToBuffer.c:94:16: style: Variable 'dev' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clEnqueueFillBuffer.c:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueFillBufferRect.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueFillImage.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMapBuffer.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMapBuffer.c:115:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueMapImage.c:47:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMapImage.c:166:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueMarker.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMarkerWithWaitList.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMemAdviseINTEL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMemFillINTEL.c:39:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_MEMFILL_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMemcpyINTEL.c:41:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_MEMCPY_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMigrateMemINTEL.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_MIGRATEMEM_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueMigrateMemObjects.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueNDRangeKernel.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:36:28: debug: Function::addArguments found argument 'user_func' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:49:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:79:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:80:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:79:9: style: Variable 'rdonly' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:79:9: style: Variable 'rdonly' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBuffer.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBuffer.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBuffer.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBuffer.c:35:34: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBufferRect.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBufferRect.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBufferRect.c:190:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBufferRect.c:41:39: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:163:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:38:33: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:41:21: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:40:10: style: Unused variable: errcode [unusedVariable] pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:41:21: style: Variable 'cmd' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clEnqueueReleaseEGLObjectsKHR.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReleaseEGLObjectsKHR.c:32:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueReleaseGLObjects.c:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueReleaseGLObjects.c:31:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMFree.c:31:39: debug: Function::addArguments found argument 'pfn_free_func' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMFree.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMap.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemFill.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemFill.c:120:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_SVM_MEMFILL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpy.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpy.c:175:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_SVM_MEMCPY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpyRectPOCL.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpyRectPOCL.c:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpyRectPOCL.c:29:52: warning: Function 'pocl_svm_memcpy_rect_common' argument order different: declaration 'command_buffer, command_queue, dst_ptr, src_ptr, src_origin, dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_items_in_wait_list, event_wait_list, event, sync_point_wait_list, sync_point, cmd' definition 'command_buffer, command_queue, dst_ptr, src_ptr, dst_origin, src_origin, region, dst_row_pitch, dst_slice_pitch, src_row_pitch, src_slice_pitch, num_items_in_wait_list, event_wait_list, event, sync_point_wait_list, sync_point, cmd' [funcArgOrderDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_shared.h:249:52: note: Function 'pocl_svm_memcpy_rect_common' argument order different: declaration 'command_buffer, command_queue, dst_ptr, src_ptr, src_origin, dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_items_in_wait_list, event_wait_list, event, sync_point_wait_list, sync_point, cmd' definition 'command_buffer, command_queue, dst_ptr, src_ptr, dst_origin, src_origin, region, dst_row_pitch, dst_slice_pitch, src_row_pitch, src_slice_pitch, num_items_in_wait_list, event_wait_list, event, sync_point_wait_list, sync_point, cmd' pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpyRectPOCL.c:29:52: note: Function 'pocl_svm_memcpy_rect_common' argument order different: declaration 'command_buffer, command_queue, dst_ptr, src_ptr, src_origin, dst_origin, region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_items_in_wait_list, event_wait_list, event, sync_point_wait_list, sync_point, cmd' definition 'command_buffer, command_queue, dst_ptr, src_ptr, dst_origin, src_origin, region, dst_row_pitch, dst_slice_pitch, src_row_pitch, src_slice_pitch, num_items_in_wait_list, event_wait_list, event, sync_point_wait_list, sync_point, cmd' pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemfillRectPOCL.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemfillRectPOCL.c:167:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:119:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_SVM_MIGRATE_MEM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:60:13: warning: If memory allocation fails, then there is a possible null pointer dereference: actual_sizes [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:58:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:58:33: note: Assignment 'actual_sizes=calloc(num_svm_pointers,sizeof(unsigned long))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:60:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:62:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ptrs [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:61:24: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:61:24: note: Assignment 'ptrs=calloc(num_svm_pointers,sizeof(void*))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:62:11: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMUnmap.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueUnmapMemObject.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueUnmapMemObject.c:35:42: style: Parameter 'mapped_ptr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueWaitForEvents.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBuffer.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBuffer.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBuffer.c:145:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBufferRect.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBufferRect.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBufferRect.c:182:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBufferRect.c:65:3: style: Checking if unsigned expression 'region_bytes' is less than zero. [unsignedLessThanZero] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteImage.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteImage.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteImage.c:150:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clFinalizeCommandBufferKHR.c:31:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clFinish.c:45:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clFlush.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetCommandBufferInfoKHR.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetCommandQueueInfo.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetContextInfo.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetDeviceAndHostTimer.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetDeviceIDs.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetDeviceInfo.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetEventInfo.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetEventProfilingInfo.c:35:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_ulong [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:41:35: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:83:13: style: Condition 'found' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:69:30: note: Assignment 'found=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:75:15: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:83:13: note: Condition 'found' is always false pocl-pocl-0a2e04a/lib/CL/clGetHostTimer.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetImageInfo.c:13:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetKernelArgInfo.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetKernelArgInfo.c:51:30: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clGetKernelInfo.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetKernelSubGroupInfo.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetKernelWorkGroupInfo.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetMemAllocInfoINTEL.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetMemObjectInfo.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetMemObjectInfo.c:57:21: style: Variable 'item' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clGetMutableCommandInfoKHR.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MUTABLE_COMMAND_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetMutableCommandInfoKHR.c:96:15: style: Variable 'NG' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clGetMutableCommandInfoKHR.c:99:14: style: Variable 'Res' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/clGetPipeInfo.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetPipeInfo.c:29:11: style: Parameter 'param_value' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clGetPipeInfo.c:29:32: style: Parameter 'param_value_size_ret' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/clGetPlatformIDs.c:256:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetPlatformInfo.c:36:47: error: There is an unknown macro here somewhere. Configuration is required. If POCL_VERSION_FULL is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/clGetProgramBuildInfo.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetProgramInfo.c:53:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable build_poclbinary [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetProgramInfo.c:88:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable build_poclbinary [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetProgramInfo.c:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetSamplerInfo.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_SAMPLER [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clGetSupportedImageFormats.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clLinkProgram.c:35:44: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clLinkProgram.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemAllocINTEL.c:45:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_ALLOC_FLAGS_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemAllocINTEL.c:198:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_TYPE_HOST_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemAllocINTEL.c:208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_TYPE_DEVICE_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemAllocINTEL.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_TYPE_SHARED_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemFreeINTEL.c:40:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_event [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemFreeINTEL.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemFreeINTEL.c:147:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clMemFreeINTEL.c:155:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:48:50: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:94:41: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:96:46: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clReleaseCommandQueue.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseContext.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseContext.c:134:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseDevice.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseEvent.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseKernel.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseKernel.c:82:67: error: Uninitialized variables: n.ptr, n.prev, n.next [uninitvar] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:235:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:141:37: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:141:37: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:143:19: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:143:19: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:149:15: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:149:15: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:150:15: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:150:15: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:43:30: style: Unused variable: callback [unusedVariable] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:43:41: style: Unused variable: next_callback [unusedVariable] pocl-pocl-0a2e04a/lib/CL/clReleaseProgram.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clReleaseProgram.c:44:15: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/lib/CL/clReleaseSampler.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_SAMPLER [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:63:37: style: Variable 'props' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:155:19: style: Variable 'local_size' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:156:19: style: Variable 'groups' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:157:18: style: Variable 'global_size' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/clRetainCommandBufferKHR.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainCommandBufferKHR.c:34:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clRetainCommandQueue.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainCommandQueue.c:34:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clRetainContext.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainContext.c:31:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clRetainDevice.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainDevice.c:36:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clRetainEvent.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainEvent.c:33:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clRetainKernel.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainKernel.c:32:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clRetainMemObject.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainProgram.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clRetainProgram.c:31:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clRetainSampler.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_SAMPLER [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSVMAlloc.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_SVM_ATOMICS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSVMFree.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetContentSizeBufferPoCL.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetContextDestructorCallback.c:28:44: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clSetContextDestructorCallback.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetDefaultDeviceCommandQueue.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetEventCallback.c:7:42: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clSetEventCallback.c:12:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:146:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_ARG_INDEX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:344:28: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:324:19: style: Local variable 'ptr_value' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:316:15: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:324:19: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:426:72: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:432:64: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:301:30: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:325:29: style: Variable 'uint32_value' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:326:29: style: Variable 'uint64_value' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:331:21: style: Variable 'ptr_value' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:336:26: style: Variable 'uint32_value' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:338:26: style: Variable 'uint64_value' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clSetKernelArgDevicePointer.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArgMemPointerINTEL.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArgSVMPointer.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArgSVMPointer.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelArgSVMPointer.c:47:30: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clSetKernelExecInfo.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetKernelExecInfo.c:125:19: style: Variable 'dev_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clSetMemObjectDestructorCallback.c:6:22: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clSetMemObjectDestructorCallback.c:11:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetProgramReleaseCallback.c:29:24: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/clSetProgramReleaseCallback.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetProgramSpecializationConstant.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clSetUserEventStatus.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clUnloadCompiler.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clUnloadPlatformCompiler.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:104:15: style: Variable 'LS' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:105:15: style: Variable 'NG' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:94:29: style: Variable 'program_dev_i' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:95:24: style: Variable 'kernel' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:96:28: style: Variable 'realdev' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:35:10: style: Unused variable: errcode [unusedVariable] pocl-pocl-0a2e04a/lib/CL/clWaitForEvents.c:33:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_convert_shared.c:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_CONVERT_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_convert_shared.c:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_CONVERT_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_convert_shared.c:63:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_CONVERT_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_INVALID_ATTRIBUTE_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:60:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:75:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_dbk_attributes_nms_box_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:76:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:75:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:75:28: note: Assignment 'ret=malloc(sizeof(cl_dbk_attributes_nms_box_exp))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:76:17: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_dnn_utils_shared.c:33:40: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:39:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_DF_IMAGE_NV12 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:94:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_dbk_attributes_img_color_convert_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:95:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:94:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:94:28: note: Assignment 'ret=malloc(sizeof(cl_dbk_attributes_img_color_convert_exp))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:95:17: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_img_shared.c:34:50: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:37:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_INVALID_ATTRIBUTE_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:70:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_dbk_attributes_jpeg_encode_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:94:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:71:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:70:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:70:28: note: Assignment 'ret=malloc(sizeof(cl_dbk_attributes_jpeg_encode_exp))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:71:17: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_jpeg_shared.c:34:44: style: Variable 'attrs' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_onnxrt_shared.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_dbk_attributes_onnx_inference_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_khr_onnxrt_shared.c:161:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_set_rows_shared.c:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_SET_ROWS_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_set_rows_shared.c:94:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_SET_ROWS_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/dbk/pocl_dbk_set_rows_shared.c:109:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_SET_ROWS_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.hh:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_ALLOCATION_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:124:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_region_t [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:139:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:258:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:338:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_ALLOCATION_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:206:38: warning: Assert statement calls a function which may have desired side effects: 'Size'. [assertWithSideEffect] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::ControlMemory' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::InstructionMemory' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::CQMemory' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::DataMemory' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::AllocRegions' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::RelativeAddressing' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::ImemStart' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::ImemSize' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::CQStart' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::CQSize' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::DmemStart' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:39:15: warning: Member variable 'AlmaIFDevice::DmemSize' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:42:10: warning: Class 'AlmaIFDevice' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:42:10: warning: Class 'AlmaIFDevice' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.hh:54:4: style: The destructor '~EmulationDevice' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.hh:43:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.hh:54:4: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:119:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:119:42: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:119:61: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:124:18: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:275:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:296:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:316:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:322:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:275:17: style: Variable 'chunk' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:316:17: style: Variable 'chunk' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.cc:196:15: style: Variable 'size' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/almaif/almaif.h:37:3: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:190:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:242:33: style:inconclusive: Technically the member function 'AlmaIFBitstreamDatabaseManager::deviceTypeEnum2String' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.hh:56:15: note: Technically the member function 'AlmaIFBitstreamDatabaseManager::deviceTypeEnum2String' can be const. pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:242:33: note: Technically the member function 'AlmaIFBitstreamDatabaseManager::deviceTypeEnum2String' can be const. pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:292:45: style:inconclusive: Technically the member function 'AlmaIFBitstreamDatabaseManager::defaultBitstream' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.hh:73:15: note: Technically the member function 'AlmaIFBitstreamDatabaseManager::defaultBitstream' can be const. pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:292:45: note: Technically the member function 'AlmaIFBitstreamDatabaseManager::defaultBitstream' can be const. pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:296:45: style:inconclusive: Technically the member function 'AlmaIFBitstreamDatabaseManager::defaultKernelName' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.hh:74:15: note: Technically the member function 'AlmaIFBitstreamDatabaseManager::defaultKernelName' can be const. pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:296:45: note: Technically the member function 'AlmaIFBitstreamDatabaseManager::defaultKernelName' can be const. pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.hh:50:3: style: Class 'AlmaIFBitstreamDatabaseManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.hh:73:15: performance: Function 'defaultBitstream()' should return member 'DefaultFilenamePath_' by const reference. [returnByReference] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.hh:74:15: performance: Function 'defaultKernelName()' should return member 'DefaultKernelName_' by const reference. [returnByReference] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/tiny-json.h:143:37: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/tiny-json.h:150:36: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:184:18: style: Variable 'dirp' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:256:30: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:268:30: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/AlmaIFBitstreamDatabaseManager.cc:281:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.cc:167:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.cc:55:5: warning: Class 'DBDevice' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.cc:55:5: warning: Class 'DBDevice' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.cc:139:16: warning: The class 'DBDevice' defines member function with name 'printMemoryDump' also defined in its parent class 'AlmaIFDevice'. [duplInheritedMember] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.hh:66:8: note: Parent function 'AlmaIFDevice::printMemoryDump' pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.cc:139:16: note: Derived function 'DBDevice::printMemoryDump' pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.hh:45:3: style: Class 'DBDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.hh:46:4: style: The destructor '~DBDevice' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.hh:43:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.hh:46:4: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.hh:48:16: style: The function 'loadProgramToDevice' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.hh:45:16: note: Virtual function in base class pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.hh:48:16: note: Function in derived class pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.hh:67:16: style: The function 'discoverDeviceParameters' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.hh:75:16: note: Virtual function in base class pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.hh:67:16: note: Function in derived class pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.cc:92:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/DBDevice.cc:120:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/tiny-json.c:85:15: style: Variable 'spool.mem' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaifDB/tiny-json.c:86:15: style: Variable 'spool.qty' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:236:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_CDBI_COPY_I8 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:150:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:162:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:181:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:66:8: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:78:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:96:32: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:98:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:166:28: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:178:28: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:204:16: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:214:69: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:215:11: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:215:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:157:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:172:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:253:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:254:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:258:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:253:30: portability: Casting between unsigned int * and float * which have an incompatible binary data representation. [invalidPointerCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:254:30: portability: Casting between unsigned int * and float * which have an incompatible binary data representation. [invalidPointerCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:178:19: style: Variable 'signal' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationDevice.cc:253:22: style: Variable 'arg0f' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/EmulationRegion.cc:30:10: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPDevice.cc:38:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPDevice.hh:32:4: style: The destructor '~MMAPDevice' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/almaif/AlmaIFDevice.hh:43:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPDevice.hh:32:4: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPDevice.cc:70:11: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPDevice.cc:55:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPDevice.cc:64:11: style: Variable 'param_token' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:47:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:60:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:77:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:35:13: warning:inconclusive: Member variable 'MMAPRegion::Data' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:35:13: warning:inconclusive: Member variable 'AlmaIFRegion::PhysAddress_' is not initialized in the constructor. Maybe it should be initialized directly in the class AlmaIFRegion? [uninitDerivedMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:35:13: warning:inconclusive: Member variable 'AlmaIFRegion::Size_' is not initialized in the constructor. Maybe it should be initialized directly in the class AlmaIFRegion? [uninitDerivedMemberVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:50:3: warning: Class 'MMAPRegion' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:50:3: warning: Class 'MMAPRegion' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:54:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:50:14: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:50:14: note: Assignment 'Data=mmap(0,Size_+difference,PROT_READ|PROT_WRITE,MAP_SHARED,mem_fd,roundDownAddress)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:54:32: note: Null pointer addition pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:54:19: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:81:12: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:141:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:145:10: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:152:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:156:15: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:171:10: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:171:23: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:141:8: style: Variable 'src' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:155:8: style: Variable 'src' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/MMAPRegion.cc:169:18: style: Variable 'src' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:167:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:225:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_ALLOCATION_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:250:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:216:13: style: Condition 'chunk==NULL' is always true [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:211:25: note: Assignment 'chunk=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:216:13: note: Condition 'chunk==NULL' is always true pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:156:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:75:20: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:123:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:129:11: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:130:11: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:140:31: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:170:12: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:188:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:202:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:243:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:257:18: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:269:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:286:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:174:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:175:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:176:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:177:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:289:10: style: The scope of the variable 'Src' can be reduced. [variableScope] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:108:11: style: Variable 'param_token' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:202:19: style: Variable 'chunk' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtDevice.cc:269:19: style: Variable 'chunk' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:88:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:56:35: style: The member function 'XilinxXrtExternalRegion::pointerDeviceOffset' can be static. [functionStatic] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.hh:45:12: note: The member function 'XilinxXrtExternalRegion::pointerDeviceOffset' can be static. pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:56:35: note: The member function 'XilinxXrtExternalRegion::pointerDeviceOffset' can be static. pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:51:31: style: The member function 'XilinxXrtExternalRegion::freeBuffer' can be static. [functionStatic] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.hh:55:8: note: The member function 'XilinxXrtExternalRegion::freeBuffer' can be static. pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:51:31: note: The member function 'XilinxXrtExternalRegion::freeBuffer' can be static. pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:58:11: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:64:40: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:84:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:87:16: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:102:16: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:84:8: style: Variable 'src' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtExternalRegion.cc:84:12: style: Variable 'src' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:62:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:78:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:96:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:109:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:121:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:136:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRT_NULL_HANDLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:68:6: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:99:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:112:4: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:124:4: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:126:4: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:141:8: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:150:4: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:164:8: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:167:8: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:175:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:190:6: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:197:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:210:10: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:211:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:216:10: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:217:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:226:12: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:234:12: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/XilinxXrtRegion.cc:255:16: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/AlmaifCompileOpenasip.hh:45:3: error: There is an unknown macro here somewhere. Configuration is required. If POCL_ALIGNAS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.hh:35:3: style: Class 'TTASimDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:153:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_region_t [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:204:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:294:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:83:3: warning: Class 'TTASimDevice' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:83:3: warning: Class 'TTASimDevice' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:63:3: style: Class 'SigINTHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:153:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:251:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:187:51: style:inconclusive: Function 'loadProgram' argument 1 names different: declaration 'loadProgram' definition 'tpef_file'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.hh:54:39: note: Function 'loadProgram' argument 1 names different: declaration 'loadProgram' definition 'tpef_file'. pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:187:51: note: Function 'loadProgram' argument 1 names different: declaration 'loadProgram' definition 'tpef_file'. pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimDevice.cc:147:13: style: Variable 'param_token' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimRegion.cc:39:28: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimRegion.cc:108:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/TTASimRegion.cc:122:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:116:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUEUE_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:116:3: error: Null pointer dereference: queue_info [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:115:7: note: Assignment 'queue_info=(struct AQLQueueInfo*)0', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:116:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:123:19: error: Null pointer dereference: queue_info [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:115:7: note: Assignment 'queue_info=(struct AQLQueueInfo*)0', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:123:19: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:167:7: error: Null pointer dereference: queue_info [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:115:7: note: Assignment 'queue_info=(struct AQLQueueInfo*)0', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:167:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:174:7: error: Null pointer dereference: queue_info [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:115:7: note: Assignment 'queue_info=(struct AQLQueueInfo*)0', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:174:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/almaif/openasip/tta_device_main.c:157:39: style: Variable 'signal' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/basic/basic.h:42:1: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:378:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:194:7: warning:inconclusive: Possible null pointer dereference: region [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:253:29: note: Assignment 'region=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:256:46: note: Calling function 'pocl_alloc_buffer_from_region', 1st argument 'region' value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:194:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:200:3: warning:inconclusive: Possible null pointer dereference: region [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:253:29: note: Assignment 'region=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:256:46: note: Calling function 'pocl_alloc_buffer_from_region', 1st argument 'region' value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:200:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:202:15: warning:inconclusive: Possible null pointer dereference: region [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:253:29: note: Assignment 'region=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:256:46: note: Calling function 'pocl_alloc_buffer_from_region', 1st argument 'region' value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:202:15: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:204:21: warning:inconclusive: Possible null pointer dereference: region [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:253:29: note: Assignment 'region=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:256:46: note: Calling function 'pocl_alloc_buffer_from_region', 1st argument 'region' value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:204:21: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:269:3: warning: If memory allocation fails, then there is a possible null pointer dereference: subchunk [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:268:49: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:268:28: note: Assignment 'subchunk=(struct chunk_info_t*)malloc(sizeof(struct chunk_info))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:269:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:270:3: warning: If memory allocation fails, then there is a possible null pointer dereference: subchunk [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:268:49: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:268:28: note: Assignment 'subchunk=(struct chunk_info_t*)malloc(sizeof(struct chunk_info))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:270:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: subchunk [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:268:49: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:268:28: note: Assignment 'subchunk=(struct chunk_info_t*)malloc(sizeof(struct chunk_info))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:271:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:340:7: warning:inconclusive: Possible null pointer dereference: region [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:331:29: note: Assignment 'region=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:340:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:341:19: warning:inconclusive: Possible null pointer dereference: region [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:331:29: note: Assignment 'region=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:341:19: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:343:15: warning:inconclusive: Possible null pointer dereference: chunk [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:339:29: note: Assignment 'chunk=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:343:15: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:359:7: warning:inconclusive: Possible null pointer dereference: region [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:331:29: note: Assignment 'region=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:343:36: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:359:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:82:28: style: Parameter 'chunk' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:95:20: error: Uninitialized variables: chunk.start_address, chunk.is_allocated, chunk.size, chunk.next, chunk.prev, chunk.children, chunk.parent, chunk.parent_region [uninitvar] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:204:11: error: Uninitialized variables: cursor.start_address, cursor.is_allocated, cursor.size, cursor.next, cursor.prev, cursor.children, cursor.parent, cursor.parent_region [uninitvar] pocl-pocl-0a2e04a/lib/CL/devices/bufalloc.c:378:9: style: Variable 'chunk' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common.c:358:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mem_ptr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:647:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:827:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_DEVICE_BUILD_HASH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:839:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:897:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:968:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1012:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1058:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1127:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pocl_kernel_hash_t [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1176:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1278:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1526:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_CPU [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1803:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1966:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:2053:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_name_version [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common.c:827:13: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/common.c:826:21: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/common.c:826:21: note: Assignment 'res=calloc(1000,sizeof(char))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:827:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1127:18: warning:inconclusive: Possible null pointer dereference: ci [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1123:34: note: Assignment 'ci=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1127:18: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1128:13: warning:inconclusive: Possible null pointer dereference: ci [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1123:34: note: Assignment 'ci=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1128:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1129:13: warning:inconclusive: Possible null pointer dereference: ci [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1123:34: note: Assignment 'ci=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1129:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1130:13: warning:inconclusive: Possible null pointer dereference: ci [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1123:34: note: Assignment 'ci=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1130:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1131:31: warning:inconclusive: Possible null pointer dereference: ci [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1123:34: note: Assignment 'ci=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1131:31: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1132:13: warning:inconclusive: Possible null pointer dereference: ci [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1123:34: note: Assignment 'ci=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1132:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1133:13: warning:inconclusive: Possible null pointer dereference: ci [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1123:34: note: Assignment 'ci=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1133:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1213:13: warning: If memory allocation fails, then there is a possible null pointer dereference: workgroup_string [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1212:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/common.c:1212:22: note: Assignment 'workgroup_string=(char*)malloc(workgroup_len)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1213:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1826:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1825:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/common.c:1825:37: note: Assignment 'tmp=malloc(num_output*sizeof(cl_name_version))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1826:15: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:1987:15: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1986:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/common.c:1986:37: note: Assignment 'tmp=malloc(num_output*sizeof(cl_name_version))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/common.c:1987:15: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/common.c:834:26: style:inconclusive: Function 'pocl_broadcast' argument 1 names different: declaration 'event' definition 'brc_event'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common.h:79:31: note: Function 'pocl_broadcast' argument 1 names different: declaration 'event' definition 'brc_event'. pocl-pocl-0a2e04a/lib/CL/devices/common.c:834:26: note: Function 'pocl_broadcast' argument 1 names different: declaration 'event' definition 'brc_event'. pocl-pocl-0a2e04a/lib/CL/devices/common.c:1042:49: style:inconclusive: Function 'pocl_check_kernel_disk_cache' argument 2 names different: declaration 'cmd' definition 'command'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common.h:86:53: note: Function 'pocl_check_kernel_disk_cache' argument 2 names different: declaration 'cmd' definition 'command'. pocl-pocl-0a2e04a/lib/CL/devices/common.c:1042:49: note: Function 'pocl_check_kernel_disk_cache' argument 2 names different: declaration 'cmd' definition 'command'. pocl-pocl-0a2e04a/lib/CL/devices/common.c:1045:20: style: Variable 'run_cmd' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/common.c:982:15: style: Variable 'dl_error' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1775:21: style: Variable 'start' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1775:30: style: Variable 'end' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1775:48: style: Variable 'len' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1932:21: style: Variable 'start' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1932:30: style: Variable 'end' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common.c:1932:48: style: Variable 'len' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:425:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MAP_WRITE_INVALIDATE_REGION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:449:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MAP_READ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:474:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:483:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:501:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_ALLOC_HOST_PTR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:737:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compiler_available [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:785:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:794:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linker_available [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:910:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_BUILD_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:1050:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:1206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:1243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:70:50: style:inconclusive: Function 'pocl_driver_read' argument 2 names different: declaration 'dst_host_ptr' definition 'host_ptr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.h:15:55: note: Function 'pocl_driver_read' argument 2 names different: declaration 'dst_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:70:50: note: Function 'pocl_driver_read' argument 2 names different: declaration 'dst_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:82:57: style:inconclusive: Function 'pocl_driver_write' argument 2 names different: declaration 'src_host_ptr' definition 'host_ptr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.h:56:50: note: Function 'pocl_driver_write' argument 2 names different: declaration 'src_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:82:57: note: Function 'pocl_driver_write' argument 2 names different: declaration 'src_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:316:56: style:inconclusive: Function 'pocl_driver_write_rect' argument 2 names different: declaration 'src_host_ptr' definition 'host_ptr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.h:86:55: note: Function 'pocl_driver_write_rect' argument 2 names different: declaration 'src_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:316:56: note: Function 'pocl_driver_write_rect' argument 2 names different: declaration 'src_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:391:49: style:inconclusive: Function 'pocl_driver_read_rect' argument 2 names different: declaration 'dst_host_ptr' definition 'host_ptr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.h:43:48: note: Function 'pocl_driver_read_rect' argument 2 names different: declaration 'dst_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:391:49: note: Function 'pocl_driver_read_rect' argument 2 names different: declaration 'dst_host_ptr' definition 'host_ptr'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:735:31: style:inconclusive: Function 'pocl_driver_build_source' argument 6 names different: declaration 'link_program' definition 'link_builtin_lib'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.h:188:35: note: Function 'pocl_driver_build_source' argument 6 names different: declaration 'link_program' definition 'link_builtin_lib'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:735:31: note: Function 'pocl_driver_build_source' argument 6 names different: declaration 'link_program' definition 'link_builtin_lib'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:756:31: style:inconclusive: Function 'pocl_driver_build_binary' argument 3 names different: declaration 'link_program' definition 'link_builtin_lib'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.h:192:35: note: Function 'pocl_driver_build_binary' argument 3 names different: declaration 'link_program' definition 'link_builtin_lib'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:756:31: note: Function 'pocl_driver_build_binary' argument 3 names different: declaration 'link_program' definition 'link_builtin_lib'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:840:36: style:inconclusive: Function 'pocl_driver_free_program' argument 3 names different: declaration 'program_device_i' definition 'dev_i'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.h:203:40: note: Function 'pocl_driver_free_program' argument 3 names different: declaration 'program_device_i' definition 'dev_i'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:840:36: note: Function 'pocl_driver_free_program' argument 3 names different: declaration 'program_device_i' definition 'dev_i'. pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:431:5: warning: Redundant code: Found a statement that begins with NULL constant. [constStatement] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:446:5: warning: Redundant code: Found a statement that begins with NULL constant. [constStatement] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:71:40: style: Parameter 'src_mem_id' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:74:22: style: Variable 'device_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:83:41: style: Parameter 'dst_mem_id' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:119:13: style: Variable 'content_size' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:190:45: style: Parameter 'dst_mem_id' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:192:45: style: Parameter 'src_mem_id' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:202:22: style: Variable 'src_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:317:46: style: Parameter 'dst_mem_id' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:336:37: style: Parameter 'device_ptr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:392:45: style: Parameter 'src_mem_id' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:409:55: style: Parameter 'dst_mem_id' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:460:22: style: Variable 'src_device_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:481:22: style: Variable 'src_device_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:543:55: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:973:13: style: Variable 'token' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:1221:47: style: Parameter 'fake_cmd' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:460:37: style: Variable 'src_device_ptr' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:481:37: style: Variable 'src_device_ptr' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:997:15: style: Variable 'params_found' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/common_driver.c:1046:7: style: Unused variable: err [unusedVariable] pocl-pocl-0a2e04a/lib/CL/devices/common_utils.h:47:3: error: There is an unknown macro here somewhere. Configuration is required. If POCL_ALIGNAS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_dnn_utils.cpp:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_dnn_utils.cpp:40:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_img_cpu.c:41:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_DF_IMAGE_NV12 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_img_cpu.c:30:63: style: Parameter 'meta' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_img_cpu.c:38:12: style: Variable 'input' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:86:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ONNX_TENSOR_ELEMENT_DATA_TYPE_DOUBLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:171:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:259:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:280:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:274:48: style:inconclusive: Function 'pocl_perform_ort_inference' argument 1 names different: declaration 'oi' definition 'ort'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.h:43:55: note: Function 'pocl_perform_ort_inference' argument 1 names different: declaration 'oi' definition 'ort'. pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:274:48: note: Function 'pocl_perform_ort_inference' argument 1 names different: declaration 'oi' definition 'ort'. pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:53:24: style: Parameter '_param' can be declared as pointer to const. However it seems that 'pocl_ort_logger' is a callback function, if '_param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:182:3: note: You might need to cast the function pointer here pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:53:24: note: Parameter '_param' can be declared as pointer to const pocl-pocl-0a2e04a/lib/CL/devices/cpu_dbk/pocl_dbk_khr_onnxrt_cpu.c:287:10: style: Variable 'num_tensors' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:309:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KHRONOS_VENDOR_ID_POCL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:90:10: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:88:19: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:88:19: note: Assignment 'f=fopen(cpufreq_file,"r")', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:90:10: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:127:64: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:125:23: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:125:23: note: Assignment 'f=fopen(cpuinfo,"r")', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:127:64: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:176:64: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:174:23: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:174:23: note: Assignment 'f=fopen(cpuinfo,"r")', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:176:64: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:317:60: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:315:19: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:315:19: note: Assignment 'f=fopen(cpuinfo,"r")', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:317:60: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:408:13: warning: If memory allocation fails, then there is a possible null pointer dereference: new_name [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:407:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:407:20: note: Assignment 'new_name=(char*)malloc(len)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:408:13: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:426:20: style: Variable 'num_read' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-cuda.h:31:1: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_BUILD_PROGRAM_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:295:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Add [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:561:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUDA_TOOLKIT_ROOT_DIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:640:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LinkOnlyNeeded [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:782:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotThreadLocal [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:809:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotThreadLocal [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:984:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_EXTENDED_ALIGNMENT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:1021:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LLVM_VERIFY_MODULE_DEFAULT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:102:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:1015:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:1035:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:1042:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:403:17: style: Local variable 'FormatType' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:231:15: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:403:17: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:455:62: performance: Function parameter 'VariableNames' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:456:63: performance: Function parameter 'Types' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:1051:24: style: Variable 'AVec' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:429:62: style: Parameter 'Function' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:579:13: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:580:15: style: Variable 'np' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:1033:41: style: Parameter 'llvm_module' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:473:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:340:17: style: Variable 'ArgType' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/cuda/pocl-ptx-gen.cc:737:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:356:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:393:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_DEFAULT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:415:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:473:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:537:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:591:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:626:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:507:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:805:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:329:41: style: Variable 'token' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/devices.c:757:15: style: Variable 'dev_env' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/hsa/pocl-hsa.h:31:1: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:686:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Type [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:80:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:174:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_DEVICE_MODULE_PROPERTIES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:213:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:437:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_DEVICE_MODULE_PROPERTIES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:480:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable load_binary [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:667:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:735:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Kernel [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:753:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compilation [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:784:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compilation [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:819:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compilation [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:1890:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_CONTEXT_DESC [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:1923:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:73:3: performance: Variable 'CacheUUID' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:185:22: style:inconclusive: Technically the member function 'pocl::Level0Kernel::getName' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:186:22: style:inconclusive: Technically the member function 'pocl::Level0Kernel::getCacheUUID' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:191:37: style:inconclusive: Technically the member function 'pocl::Level0Kernel::getIndirectFlags' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:194:35: style:inconclusive: Technically the member function 'pocl::Level0Kernel::getAccessedPointers' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:467:13: style:inconclusive: Technically the member function 'pocl::Level0BuildBase::getBuildType' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:508:22: style:inconclusive: Technically the member function 'pocl::Level0Build::getModuleHandle' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:509:23: style:inconclusive: Technically the member function 'pocl::Level0Build::getSpec' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:716:21: style:inconclusive: Technically the member function 'pocl::Level0KernelBuild::getKernelName' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:760:22: style:inconclusive: Technically the member function 'pocl::Level0CompilationJob::getDevice' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:873:23: style:inconclusive: Technically the member function 'pocl::Level0CompilerThread::getContextHandle' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:169:3: style: Class 'Level0Kernel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:276:12: style: The destructor '~Level0Program' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:221:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:276:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:496:12: style: The destructor '~Level0Build' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:463:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:496:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:716:21: performance: Function 'getKernelName()' should return member 'KernelName' by const reference. [returnByReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:69:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:233:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:234:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:504:19: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:537:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:622:45: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:623:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:676:19: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:706:42: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:2178:66: style:inconclusive: Function 'getBestKernel' argument 1 names different: declaration 'Program' definition 'Prog'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:927:37: note: Function 'getBestKernel' argument 1 names different: declaration 'Program' definition 'Prog'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:2178:66: note: Function 'getBestKernel' argument 1 names different: declaration 'Program' definition 'Prog'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:72:46: performance: Function parameter 'N' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:378:61: performance: Function parameter 'Name' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:1011:49: style: Parameter 'Program' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:1019:49: style: Parameter 'Program' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:77:14: style: Variable 'Pair' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:636:49: style: Parameter 'BuildFlags' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:637:49: style: Parameter 'ProgCachePath' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:638:49: style: Parameter 'ProgNativeDir' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:1934:60: style: Parameter 'DevicesH' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:189:40: style: Parameter 'SpecIDs' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:553:47: style: Parameter 'Program' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:633:51: style: Parameter 'Program' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:725:16: style: Variable 'OtherBuild' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:742:22: style: Variable 'OtherK' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:752:40: style: Parameter 'Prog' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.cc:1968:38: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:449:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_FEATURE_FLAG_DPAS_INTEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:457:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_GPU [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:462:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_GPU [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:471:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_CUSTOM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:122:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_NDRANGE_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:369:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:483:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:493:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:521:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:534:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:556:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:581:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZeListPrepare [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:654:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZeListExec [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:673:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZeListPrepare [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:737:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_USE_HOST_PTR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:764:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_USE_HOST_PTR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:805:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:823:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:836:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:887:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:949:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1040:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1097:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1161:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MAP_WRITE_INVALIDATE_REGION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1186:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MAP_READ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1237:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1332:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1408:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1459:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MAP_WRITE_INVALIDATE_REGION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1477:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MAP_READ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1522:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ze_image_handle_t [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1557:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1590:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1602:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_MEMORY_ADVICE_BIAS_UNCACHED [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1619:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1690:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_NDRANGE_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1826:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1931:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2118:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_MEMORY_ACCESS_CAP_FLAG_RW [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2136:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2198:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2343:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2407:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_DEVICE_FP_FLAG_DENORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2436:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_DEVICE_FP_ATOMIC_EXT_FLAG_GLOBAL_LOAD_STORE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2471:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_DEVICE_MODULE_PROPERTIES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2592:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2666:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2768:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2804:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2843:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_PCI_EXT_PROPERTIES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2884:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_EXEC_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3255:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3275:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3375:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_NDRANGE_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3431:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_EXTENDED_ALIGNMENT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3446:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_EXTENDED_ALIGNMENT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3457:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_HOST_MEM_ALLOC_DESC [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3471:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3485:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3506:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_IMAGE_FORMAT_TYPE_SNORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3688:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_IMAGE_TYPE_1D [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3736:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3745:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_SAMPLER_ADDRESS_MODE_NONE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3784:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3792:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_BUILD_PROGRAM_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3902:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_BUILD_PROGRAM_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3939:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_OUT_OF_RESOURCES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3963:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_OUT_OF_RESOURCES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4087:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4096:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4106:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4118:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_RESULT_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4148:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32_t_3 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4191:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_DRIVER_PROPERTIES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4452:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_EXTERNAL_MEMORY_EXPORT_DESC [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4497:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZE_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMPORT_FD [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:683:17: style:inconclusive: Member variable 'Level0DMABufAllocator::ExportDevice' is in the wrong place in the initializer list. [initializerList] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:671:31: note: Member variable 'Level0DMABufAllocator::ExportDevice' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:683:17: note: Member variable 'Level0DMABufAllocator::ExportDevice' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1876:3: performance: Variable 'QueueH' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1877:3: performance: Variable 'CmdListH' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1880:3: performance: Variable 'PreviousEventH' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1880:20: performance: Variable 'CurrentEventH' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1701:19: style: The member function 'pocl::Level0Queue::runBuiltinKernel' can be static. [functionStatic] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:226:8: note: The member function 'pocl::Level0Queue::runBuiltinKernel' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1701:19: note: The member function 'pocl::Level0Queue::runBuiltinKernel' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3866:19: style: The member function 'pocl::Level0Device::createBuiltinProgram' can be static. [functionStatic] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:374:7: note: The member function 'pocl::Level0Device::createBuiltinProgram' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3866:19: note: The member function 'pocl::Level0Device::createBuiltinProgram' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:401:30: style:inconclusive: Technically the member function 'pocl::Level0Device::getSupportedSubgroupSizes' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4065:27: style:inconclusive: Technically the member function 'pocl::Level0Device::getMemCaps' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:404:15: note: Technically the member function 'pocl::Level0Device::getMemCaps' can be const. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4065:27: note: Technically the member function 'pocl::Level0Device::getMemCaps' can be const. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4134:40: style: The member function 'pocl::Level0Device::getMemFlags' can be static. [functionStatic] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:409:28: note: The member function 'pocl::Level0Device::getMemFlags' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4134:40: note: The member function 'pocl::Level0Device::getMemFlags' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:412:22: style:inconclusive: Technically the member function 'pocl::Level0Device::getDeviceHandle' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:413:23: style:inconclusive: Technically the member function 'pocl::Level0Device::getContextHandle' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4139:20: style:inconclusive: Technically the member function 'pocl::Level0Device::getTimingInfo' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:417:8: note: Technically the member function 'pocl::Level0Device::getTimingInfo' can be const. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4139:20: note: Technically the member function 'pocl::Level0Device::getTimingInfo' can be const. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:420:12: style:inconclusive: Technically the member function 'pocl::Level0Device::getMaxWGSize' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:424:12: style: The member function 'pocl::Level0Device::getMaxSGSizeForKernel' can be static. [functionStatic] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:428:8: style:inconclusive: Technically the member function 'pocl::Level0Device::isHostUnifiedMemory' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:429:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsHostUSM' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:430:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsDeviceUSM' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:431:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsSingleSharedUSM' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:434:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsCrossSharedUSM' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:437:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsSystemSharedUSM' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:440:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsOndemandPaging' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:441:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsGlobalOffsets' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:442:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsCompression' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:443:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsExportByDmaBuf' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:444:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsImportByDmaBuf' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:445:33: style:inconclusive: Technically the member function 'pocl::Level0Device::getProperties' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:446:40: style:inconclusive: Technically the member function 'pocl::Level0Device::getFeatureCaps' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:454:12: style:inconclusive: Technically the member function 'pocl::Level0Device::getIPVersion' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:456:8: style:inconclusive: Technically the member function 'pocl::Level0Device::supportsCmdQBatching' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:462:8: style:inconclusive: Technically the member function 'pocl::Level0Device::prefersZeQueues' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:471:8: style:inconclusive: Technically the member function 'pocl::Level0Device::prefersHostQueues' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:570:23: style:inconclusive: Technically the member function 'pocl::Level0Driver::getContextHandle' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:574:12: style:inconclusive: Technically the member function 'pocl::Level0Driver::getNumDevices' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:578:27: style:inconclusive: Technically the member function 'pocl::Level0Driver::getUUID' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:582:8: style:inconclusive: Technically the member function 'pocl::Level0Driver::hasExtension' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4363:20: style: The member function 'pocl::Level0Driver::isIntelNPU' can be static. [functionStatic] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:591:8: note: The member function 'pocl::Level0Driver::isIntelNPU' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4363:20: note: The member function 'pocl::Level0Driver::isIntelNPU' can be static. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:653:8: style:inconclusive: Technically the member function 'pocl::DMABufAllocation::isValid' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:562:3: style: Class 'Level0Driver' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1839:22: style: Condition 'setupKernelArgs(ModuleH,KernelH,Dev,DeviceI,RunCmd)' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1839:22: note: Calling function 'setupKernelArgs' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1839:22: note: Condition 'setupKernelArgs(ModuleH,KernelH,Dev,DeviceI,RunCmd)' is always false pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1946:25: style: Condition 'Device->isIntelNPU()' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1946:25: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1946:25: note: Condition 'Device->isIntelNPU()' is always false pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2139:20: style: Condition 'D->isIntelNPU()' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2139:20: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2139:20: note: Condition 'D->isIntelNPU()' is always false pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2157:20: style: Condition 'D->isIntelNPU()' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2157:20: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2157:20: note: Condition 'D->isIntelNPU()' is always false pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: style: Return value 'Driver->isIntelNPU()' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: note: Return value 'Driver->isIntelNPU()' is always false pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4243:19: style: Condition 'DeviceCount==0' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4238:47: note: Assuming that condition 'DeviceCount==0' is not redundant pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4243:19: note: Condition 'DeviceCount==0' is always false pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1797:9: warning:inconclusive: Possible null pointer dereference: MI [nullPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1795:36: note: Assignment 'MI=nullptr', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1797:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:642:37: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:647:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:647:47: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:670:56: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:720:37: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:978:18: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1013:29: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1016:33: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1071:19: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1214:65: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1215:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1283:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1293:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1293:23: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1293:43: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1379:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1388:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1388:23: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1388:43: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1632:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1638:28: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1656:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1665:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1781:30: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1783:28: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3200:30: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3203:30: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3209:30: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3799:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3922:34: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3942:32: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3966:32: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3967:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3197:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:90:15: style: The scope of the variable 'str' can be reduced. [variableScope] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1104:12: style: The scope of the variable 'OffsetX' can be reduced. [variableScope] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:718:43: style:inconclusive: Function 'freeCommandBuffer' argument 1 names different: declaration 'CmdBufData' definition 'CmdBufPtr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:93:32: note: Function 'freeCommandBuffer' argument 1 names different: declaration 'CmdBufData' definition 'CmdBufPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:718:43: note: Function 'freeCommandBuffer' argument 1 names different: declaration 'CmdBufData' definition 'CmdBufPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:968:47: style:inconclusive: Function 'readRect' argument 1 names different: declaration 'HostVoidPtr' definition 'HostPtr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:145:36: note: Function 'readRect' argument 1 names different: declaration 'HostVoidPtr' definition 'HostPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:968:47: note: Function 'readRect' argument 1 names different: declaration 'HostVoidPtr' definition 'HostPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1060:54: style:inconclusive: Function 'writeRect' argument 1 names different: declaration 'HostVoidPtr' definition 'HostPtr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:156:43: note: Function 'writeRect' argument 1 names different: declaration 'HostVoidPtr' definition 'HostPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1060:54: note: Function 'writeRect' argument 1 names different: declaration 'HostVoidPtr' definition 'HostPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1266:59: style:inconclusive: Function 'writeImageRect' argument 3 names different: declaration 'src_HostPtr' definition 'SrcHostPtr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:184:48: note: Function 'writeImageRect' argument 3 names different: declaration 'src_HostPtr' definition 'SrcHostPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1266:59: note: Function 'writeImageRect' argument 3 names different: declaration 'src_HostPtr' definition 'SrcHostPtr'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2878:41: style:inconclusive: Function 'Level0Device' argument 3 names different: declaration 'Dev' definition 'dev'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:320:29: note: Function 'Level0Device' argument 3 names different: declaration 'Dev' definition 'dev'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2878:41: note: Function 'Level0Device' argument 3 names different: declaration 'Dev' definition 'dev'. pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:621:17: style: Local variable 'Msg' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:583:15: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:621:17: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1825:17: style: Local variable 'Res' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1807:8: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1825:17: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:2432:58: performance: Function parameter 'Prefix' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3346:13: performance: Range variable 'ImgT' should be declared as const reference. [iterateByValue] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3347:15: performance: Range variable 'PixT' should be declared as const reference. [iterateByValue] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3392:47: performance: Function parameter 'Batch' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:574:47: style: Parameter 'Batch' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1830:14: style: Variable 'I' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3361:16: style: Variable 'I' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:3367:16: style: Variable 'I' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:248:16: style: Variable 'origin' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:270:16: style: Variable 'origin' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:969:49: style: Parameter 'SrcMemId' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1340:14: style: Variable 'HostOrigin' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1341:14: style: Variable 'DevOrigin' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1342:14: style: Variable 'DevRegion' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1439:14: style: Variable 'HostOrigin' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1440:14: style: Variable 'DevOrigin' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1441:14: style: Variable 'DevRegion' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1548:32: style: Parameter 'Ptr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1550:34: style: Parameter 'Ptr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1562:60: style: Parameter 'Pattern' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1701:53: style: Parameter 'RunCmd' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4151:60: style: Parameter 'Kernel' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4318:48: style: Parameter 'Dev' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4349:51: style: Parameter 'ExcludeDev' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.hh:424:48: style: Parameter 'Kernel' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:688:28: style: Unused variable: Msgs [unusedVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_convert.cc:92:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_convert.cc:89:55: style: Parameter 'ModelBinary' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:99:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_LAYOUT_ML_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:92:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:104:33: style: Variable 'ReplaceMap["INPUT_ELEM_TYPE"]' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:103:33: note: ReplaceMap["INPUT_ELEM_TYPE"] is assigned pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:104:33: note: ReplaceMap["INPUT_ELEM_TYPE"] is overwritten pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:82:52: style: Parameter 'ModelBinary' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:87:28: style: Variable 'L' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_gemm.cc:87:28: style: Variable 'L' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:240:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_LAYOUT_ML_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:213:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:251:30: style: Variable 'ReplaceMap["INPUT_LAYOUT"]' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:250:30: note: ReplaceMap["INPUT_LAYOUT"] is assigned pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:251:30: note: ReplaceMap["INPUT_LAYOUT"] is overwritten pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:210:54: style: Parameter 'ModelBinary' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:221:28: style: Variable 'L' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/level0/npu_dbk_matmul.cc:221:28: style: Variable 'L' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/level0/pocl-level0.cc:390:2: error: failed to evaluate #if condition, undefined function-like macro invocation: ZE_MAKE_VERSION( ... ) [syntaxError] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:50:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_ulong [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:35:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:42:35: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:44:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:46:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:48:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:50:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:52:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:54:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/pocl_spirv_utils.cc:60:30: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/printf_base.h:30:4: error: #error "NaNs are not supported!" [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:105:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_so_paths [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:153:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:177:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:222:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:266:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:286:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:355:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:375:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:398:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:464:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:484:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:508:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:597:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:617:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:642:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:665:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:688:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:710:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:753:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:773:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:796:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:890:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:913:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:933:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:957:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:983:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1031:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1054:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1078:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1161:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1182:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1205:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1229:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1274:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1297:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1337:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1357:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1377:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1400:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1424:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1443:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1462:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1488:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1517:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1543:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1572:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1598:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1625:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1653:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1681:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1709:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1735:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1762:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1790:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1816:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1898:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1925:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1951:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:1974:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2000:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2024:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2048:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2142:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2164:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2204:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2310:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2333:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2359:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2385:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/libopencl_stub/openclstub.c:2453:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/proxy/pocl_proxy.hpp:35:1: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/pthread/pocl-pthread.h:31:1: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/remote/remote.h:75:1: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:129:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:188:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hh [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:698:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:158:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_server [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:42: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:20: note: Assignment 'new_server=(struct server_info*)calloc(1,sizeof(*new_server))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:158:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:159:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_server [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:42: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:20: note: Assignment 'new_server=(struct server_info*)calloc(1,sizeof(*new_server))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:159:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:160:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_server [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:42: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:20: note: Assignment 'new_server=(struct server_info*)calloc(1,sizeof(*new_server))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:160:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:163:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_server [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:42: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:157:20: note: Assignment 'new_server=(struct server_info*)calloc(1,sizeof(*new_server))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:163:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:714:31: style: Same expression on both sides of '&&' because 'avahi_err!=CL_SUCCESS' and 'dht_err!=CL_SUCCESS' represent the same value. [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:698:22: note: 'avahi_err' is assigned value 'CL_SUCCESS' here. pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:699:20: note: 'dht_err' is assigned value 'CL_SUCCESS' here. pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:714:31: note: Same expression on both sides of '&&' because 'avahi_err!=CL_SUCCESS' and 'dht_err!=CL_SUCCESS' represent the same value. pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:691:34: style:inconclusive: Function 'init_network_discovery' argument 1 names different: declaration 'add_discovered_device' definition 'add_discovered_device_c'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.h:42:12: note: Function 'init_network_discovery' argument 1 names different: declaration 'add_discovered_device' definition 'add_discovered_device_c'. pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:691:34: note: Function 'init_network_discovery' argument 1 names different: declaration 'add_discovered_device' definition 'add_discovered_device_c'. pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:694:34: style:inconclusive: Function 'init_network_discovery' argument 2 names different: declaration '' definition 'reconnect_callback'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:695:34: style:inconclusive: Function 'init_network_discovery' argument 3 names different: declaration '' definition 'pocl_dev_type_idx'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:696:40: style:inconclusive: Function 'init_network_discovery' argument 4 names different: declaration '' definition 'pocl_dev_platform'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/devices/signal_handlers.c:4:2: error: #error This only compiles under Linux [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:255:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MagicNumber [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:638:1: style: The class 'SPIRVmodule' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:108:11: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVtype::id' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:109:12: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVtype::getAlign' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:223:11: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVtypePointer::getPointedType' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:224:11: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVtypePointer::getStorageClass' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:371:8: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVinst::isEntryPoint' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:395:11: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVinst::nameID' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:405:11: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVinst::entryPointID' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:894:11: style:inconclusive: Technically the member function 'SPIRVParser::SPIRVmodule::getPointerType' can be const. [functionConst] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:185:3: style: Class 'SPIRVtypeSampler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:302:3: style: Class 'SPIRVinst' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:129:12: style: The destructor '~SPIRVtypePOD' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:106:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:129:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:147:12: style: The destructor '~SPIRVtypePODStruct' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:106:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:147:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:158:12: style: The destructor '~SPIRVtypeOpaque' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:106:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:158:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:177:12: style: The destructor '~SPIRVtypeImage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:106:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:177:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:186:12: style: The destructor '~SPIRVtypeSampler' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:106:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:186:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:221:12: style: The destructor '~SPIRVtypePointer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:106:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:221:12: note: Destructor in derived class pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:700:38: style: Assigned value 'parseInstructionStream(Stream,NumWords)' is always true [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:700:38: note: Calling function 'parseInstructionStream' returns 1 pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:700:38: note: Assigned value 'parseInstructionStream(Stream,NumWords)' is always true pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1026:21: style: Assigned value 'fixBitcast(Inst,InstSize,I,NumWords,InStream,ReplacementBitcastType,ReplacementAtomicType)' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1026:21: note: Calling function 'fixBitcast' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1026:21: note: Assigned value 'fixBitcast(Inst,InstSize,I,NumWords,InStream,ReplacementBitcastType,ReplacementAtomicType)' is always false pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1029:11: style: Condition 'SkipInstructionOutput' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1026:21: note: Calling function 'fixBitcast' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1026:21: note: Assignment 'SkipInstructionOutput=fixBitcast(Inst,InstSize,I,NumWords,InStream,ReplacementBitcastType,ReplacementAtomicType)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1029:11: note: Condition 'SkipInstructionOutput' is always false pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:61:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:336:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:341:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:346:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:351:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:900:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:952:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:896:15: style: The scope of the variable 'ID' can be reduced. [variableScope] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1056:40: style:inconclusive: Function 'parseSPIRV' argument 3 names different: declaration 'FuncInfoMap' definition 'Output'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.hh:104:40: note: Function 'parseSPIRV' argument 3 names different: declaration 'FuncInfoMap' definition 'Output'. pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:1056:40: note: Function 'parseSPIRV' argument 3 names different: declaration 'FuncInfoMap' definition 'Output'. pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:598:14: style: Local variable 'It' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:587:10: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:598:14: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:840:21: style: Variable 'DS' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:911:30: style: Parameter 'Inst' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:488:13: style: Variable 'EltCountOperand' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/spirv_queries.cc:294:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/spirv_queries.cc:293:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/spirv_queries.cc:293:9: note: Assignment 'temp=(cl_uint*)malloc(SpirvCapabilities.size()*sizeof(cl_uint))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/spirv_queries.cc:294:12: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/spirv_queries.cc:275:44: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_queries.cc:285:9: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/spirv_queries.cc:293:9: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tbb/tbb.h:36:1: error: There is an unknown macro here somewhere. Configuration is required. If GEN_PROTOTYPES is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/tbb/tbb_scheduler.h:54:5: error: There is an unknown macro here somewhere. Configuration is required. If POCL_ALIGNAS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/tce/tce_common.cc:235:38: error: There is an unknown macro here somewhere. Configuration is required. If SRCDIR is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main.c:148:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_KST_RUNNING [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main.c:209:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_KST_READY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:67:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_KERNEL_ARGS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:130:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:170:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_KST_READY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:179:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_KERNEL_ARGS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:155:13: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:121:9: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:155:13: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:75:28: style: Variable 'num_groups_x' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:180:18: style: Variable 'work_dim' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:181:32: style: Variable 'local_work_sizes' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:182:33: style: Variable 'global_work_sizes' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/tce/tta_device_main_dthread.c:179:12: style: Unused variable: dynamic_local_arg_sizes [unusedVariable] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:87:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pocl_tce_init_build [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:156:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:219:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:259:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shutdownRequested [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:274:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global_as [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:283:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global_as [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:294:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable global_as [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:308:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentProgram [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:316:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentProgram [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:347:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:538:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:619:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:641:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_GPU [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:765:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:772:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:780:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_QUEUE_PROFILING_ENABLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:530:5: style: Class 'SigINTHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:611:5: style: Class 'SigINTHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:165:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:166:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:167:27: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:173:31: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:245:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:246:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:276:28: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:296:8: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:337:23: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:383:25: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:385:32: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:568:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:687:30: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:725:31: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:735:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:745:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:776:21: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:371:29: style: Variable 'meta' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:385:27: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/topology/pocl_topology.c:304:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_READ_WRITE_CACHE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:72:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KERNEL_ARG_TYPE_CONST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:91:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KERNEL_ARG_ACCESS_NONE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KERNEL_ARG_ADDRESS_GLOBAL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FAILED [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:241:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:273:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KERNEL_ARG_ADDRESS_PRIVATE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:362:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FAILED [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:61:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:60:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:60:22: note: Assignment 'ret=malloc(size+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:61:12: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:241:3: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:242:3: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:243:3: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:244:3: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:245:3: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:246:3: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:247:3: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:249:9: style: Variable 'found_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:278:16: style: Variable 'id' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/devices/vulkan/pocl-vulkan.c:91:2: error: #error this program needs Vulkan headers to be at least version 1.1 [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:382:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:485:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_kernel_arg_access_qualifier [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:648:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_OUT_OF_HOST_MEMORY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:697:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:789:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:835:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:858:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:536:3: warning: If memory allocation fails, then there is a possible null pointer dereference: relpath [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:536:3: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:536:3: note: Assignment 'relpath=malloc(len+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:536:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:540:3: warning: If memory allocation fails, then there is a possible null pointer dereference: content [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:540:3: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:540:3: note: Assignment 'content=malloc(len+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:540:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:543:14: warning: Possible null pointer dereference: relpath [nullPointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:535:19: note: Assignment 'relpath=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:536:3: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:543:14: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:844:44: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:831:35: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:831:35: note: Assignment 'temp_buf=malloc(256<<20)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:835:54: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:844:44: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:736:14: style: Local variable 'size' shadows outer argument [shadowArgument] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:685:70: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:736:14: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:313:18: style: Variable 'binary' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:546:9: style: Variable 'fullpath' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:692:18: style: Variable 'end_of_buffer' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:770:18: style: Variable 'end_of_buffer' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:797:20: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:855:18: style: Variable 'binary' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:865:18: style: Variable 'start' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_binary.c:858:15: style: Variable 'errcode' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:635:45: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:192:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_LINKER_OPTIONS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:412:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:450:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_BUILD_NONE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:532:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_BINARY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:590:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable build_hash [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:612:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:655:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMPILE_PROGRAM_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:190:3: warning: If memory allocation fails, then there is a possible null pointer dereference: modded_options [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:715:50: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_build.c:715:35: note: Assignment 'program->compiler_options=(char*)malloc(size)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:717:32: note: Calling function 'process_options', 2nd argument 'program->compiler_options' value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:190:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_build.c:205:11: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_options [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:203:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_build.c:203:24: note: Assignment 'temp_options=(char*)malloc(strlen(options)+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:205:11: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_build.c:206:12: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_options [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:203:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_build.c:203:24: note: Assignment 'temp_options=(char*)malloc(strlen(options)+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:206:12: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_build.c:700:7: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_options [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:22: note: Assignment 'temp_options=(char*)malloc(len)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:700:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_build.c:706:15: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_options [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:22: note: Assignment 'temp_options=(char*)malloc(len)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:701:19: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/pocl_build.c:706:15: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_build.c:635:45: style:inconclusive: Function 'compile_and_link_program' argument 12 names different: declaration '' definition 'pfn_notify'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:540:19: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:498:10: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/pocl_build.c:540:19: note: Shadow variable pocl-pocl-0a2e04a/lib/CL/pocl_build.c:435:35: style: Variable 'meta' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:429:12: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:831:65: debug: Function::addArguments found argument 'TransA' with varid 0. [varid0] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:181:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_CDBI_LAST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:502:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_mem [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:518:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_CDBI_LAST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:636:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_CDBI_LAST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:683:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:735:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DBK_INVALID_ATTRIBUTE_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:833:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GemmCB [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:899:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:985:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1222:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1269:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_tensor_layout_blas_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1326:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_dbk_attributes_gemm_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:703:28: warning: If memory allocation fails, then there is a possible null pointer dereference: copied_name [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:702:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:702:34: note: Assignment 'copied_name=strdup(kernel->name)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:703:28: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1256:3: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1393:73: note: Calling function 'pocl_deserialize_cl_tensor_desc', 2nd argument 'buf' value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1256:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1257:3: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1393:73: note: Calling function 'pocl_deserialize_cl_tensor_desc', 2nd argument 'buf' value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1257:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1258:3: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1393:73: note: Calling function 'pocl_deserialize_cl_tensor_desc', 2nd argument 'buf' value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1258:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1259:3: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1393:73: note: Calling function 'pocl_deserialize_cl_tensor_desc', 2nd argument 'buf' value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1259:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1260:3: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1393:73: note: Calling function 'pocl_deserialize_cl_tensor_desc', 2nd argument 'buf' value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1260:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1261:3: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1393:73: note: Calling function 'pocl_deserialize_cl_tensor_desc', 2nd argument 'buf' value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1261:3: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1371:9: warning: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assignment 'attr=calloc(1,sizeof(cl_dbk_attributes_onnx_inference_exp))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1371:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1377:9: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1375:13: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1377:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1378:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assignment 'attr=calloc(1,sizeof(cl_dbk_attributes_onnx_inference_exp))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1378:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1388:17: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1388:17: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1397:9: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1397:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1398:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assignment 'attr=calloc(1,sizeof(cl_dbk_attributes_onnx_inference_exp))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1398:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1408:17: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1410:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1408:17: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1417:9: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1410:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1417:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1418:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: attr [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1365:20: note: Assignment 'attr=calloc(1,sizeof(cl_dbk_attributes_onnx_inference_exp))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1418:9: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1432:17: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1443:21: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1432:17: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1439:17: warning: Either the condition 'buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1434:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1439:17: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:831:65: style:inconclusive: Function 'pocl_validate_dbk_attributes' argument 3 names different: declaration '' definition 'TransA'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:491:27: style: Variable 'SrcArg' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:532:48: style: Parameter 'SrcArg' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:604:43: style: Parameter 'attrs' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:83:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:127:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_HASH_FILENAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:233:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_PARALLEL_BC_FILENAME [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:252:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:310:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OBJ_EXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:328:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASM_EXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:347:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:360:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:371:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:383:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:407:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:430:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:474:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_VERSION_BASE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:556:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_KERNEL_CACHE_DEFAULT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:697:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cache.c:723:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_MAX_PATHNAME_LENGTH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cl_half_util.c:105:43: style:inconclusive: Boolean expression 'infN>v.si' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/lib/CL/pocl_cl_half_util.c:106:43: style:inconclusive: Boolean expression 'nanN>v.si' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/lib/CL/pocl_cl_half_util.c:103:8: style: Variable 's.si' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/lib/CL/pocl_cl_half_util.c:102:8: note: s.si is assigned pocl-pocl-0a2e04a/lib/CL/pocl_cl_half_util.c:103:8: note: s.si is overwritten pocl-pocl-0a2e04a/lib/CL/pocl_cl_half_util.c:103:8: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:76:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:138:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:80:11: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:80:11: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:85:7: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:85:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:86:7: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:86:7: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:92:10: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:92:10: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:121:3: warning: Size of pointer 'profiled_cq_events' used instead of size of its data. [pointerSize] pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.c:51:13: style: Variable 'err_msg' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.c:72:13: style: Variable 'err_msg' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_file_util.c:378:2: error: #error mkostemps() / mkstemps() both unavailable [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/CL/pocl_fill_memobj.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_fill_memobj.c:85:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_fill_memobj.c:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_fill_memobj.c:167:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_hash.c:113:17: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] pocl-pocl-0a2e04a/lib/CL/pocl_hash.c:157:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_hash.c:157:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_hash.c:157:19: style: Variable 'd' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_hash.c:157:23: style: Variable 'e' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_IMAGE1D [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:222:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SNORM_INT8 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:266:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CHAR_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:276:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SHRT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:286:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_UCHAR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:296:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_USHRT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:308:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CHAR_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:318:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SHRT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:328:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_UCHAR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:338:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_USHRT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:348:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CHAR_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:355:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SHRT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:362:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_UCHAR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:369:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_USHRT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:380:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CHAR_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:390:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SHRT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:400:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_UCHAR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:410:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_USHRT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:422:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CHAR_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:432:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SHRT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:442:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_UCHAR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:452:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_USHRT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:461:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CHAR_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:467:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SHRT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:473:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_UCHAR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:479:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_USHRT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:521:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FLOAT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:595:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FLOAT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:661:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FLOAT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:717:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_A [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:774:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_A [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:801:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_A [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:870:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SIGNED_INT8 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:219:34: style:inconclusive: Function 'pocl_get_image_information' argument 3 names different: declaration 'host_channels' definition 'channels_out'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.h:49:46: note: Function 'pocl_get_image_information' argument 3 names different: declaration 'host_channels' definition 'channels_out'. pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:219:34: note: Function 'pocl_get_image_information' argument 3 names different: declaration 'host_channels' definition 'channels_out'. pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:220:34: style:inconclusive: Function 'pocl_get_image_information' argument 4 names different: declaration 'host_elem_size' definition 'elem_size_out'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_image_util.h:50:46: note: Function 'pocl_get_image_information' argument 4 names different: declaration 'host_elem_size' definition 'elem_size_out'. pocl-pocl-0a2e04a/lib/CL/pocl_image_util.c:220:34: note: Function 'pocl_get_image_information' argument 4 names different: declaration 'host_elem_size' definition 'elem_size_out'. pocl-pocl-0a2e04a/lib/CL/pocl_img_buf_cpy.c:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_img_buf_cpy.c:223:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT_WAIT_LIST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_img_buf_cpy.c:264:21: style: Variable 'buffers' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_img_buf_cpy.c:265:17: style: Variable 'rdonly' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_img_buf_cpy.c:266:14: style: Variable 'n_bufs' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_ipc_mutex_win.cc:35:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ipc_mutex_win.cc:53:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_build.cc:27:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:41:36: style:inconclusive: Function 'pocl_dynlib_open' argument 1 names different: declaration 'path' definition 'Path'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:44:37: note: Function 'pocl_dynlib_open' argument 1 names different: declaration 'path' definition 'Path'. pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:41:36: note: Function 'pocl_dynlib_open' argument 1 names different: declaration 'path' definition 'Path'. pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:44:47: style:inconclusive: Function 'pocl_dynlib_open' argument 2 names different: declaration 'lazy' definition ''. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:44:57: style:inconclusive: Function 'pocl_dynlib_open' argument 3 names different: declaration 'local' definition ''. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:54:29: style:inconclusive: Function 'pocl_dynlib_close' argument 1 names different: declaration 'dynlib_handle' definition 'Handle'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:55:30: note: Function 'pocl_dynlib_close' argument 1 names different: declaration 'dynlib_handle' definition 'Handle'. pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:54:29: note: Function 'pocl_dynlib_close' argument 1 names different: declaration 'dynlib_handle' definition 'Handle'. pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:65:41: style:inconclusive: Function 'pocl_dynlib_symbol_address' argument 1 names different: declaration 'dynlib_handle' definition ''. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:63:54: style:inconclusive: Function 'pocl_dynlib_symbol_address' argument 2 names different: declaration 'symbol_name' definition 'SymbolName'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:66:47: note: Function 'pocl_dynlib_symbol_address' argument 2 names different: declaration 'symbol_name' definition 'SymbolName'. pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:63:54: note: Function 'pocl_dynlib_symbol_address' argument 2 names different: declaration 'symbol_name' definition 'SymbolName'. pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:67:40: style:inconclusive: Function 'pocl_dynlib_pathname' argument 1 names different: declaration 'address' definition 'Address'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:75:41: note: Function 'pocl_dynlib_pathname' argument 1 names different: declaration 'address' definition 'Address'. pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:67:40: note: Function 'pocl_dynlib_pathname' argument 1 names different: declaration 'address' definition 'Address'. pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:67:40: style: Parameter 'Address' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_dynlib.cc:36:15: style: struct member 'DynlibData::Path' is never used. [unusedStructMember] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_file_utils.cc:60:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_metadata.cc:26:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_spirv.cc:27:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_utils.cc:27:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_llvm_wg.cc:30:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_lttng.h:38:1: error: There is an unknown macro here somewhere. Configuration is required. If TRACEPOINT_EVENT is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_mem_management.c:375:3: error: There is an unknown macro here somewhere. Configuration is required. If LL_FOREACH_SAFE is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/CL/pocl_mkstemp.c:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_WORK_DIMENSION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:273:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_mem [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:388:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_OUT_OF_HOST_MEMORY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:424:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:490:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:564:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:273:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:239:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:240:17: style: Variable 'raw_ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:278:34: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:320:29: style: Variable 'al' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:379:46: style: Parameter 'src_arguments' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:511:34: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:543:48: style: Parameter 'sync_point_p' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:359:56: error: Uninitialized variable: n->ptr [uninitvar] pocl-pocl-0a2e04a/lib/CL/pocl_ndrange_kernel.c:552:10: style: Variable 'raw_ptr_count' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_networking.c:117:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_networking.c:167:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_VSOCK [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_networking.c:146:23: style: Condition 'is_numeric' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/pocl_networking.c:127:24: note: Assignment 'is_numeric=0', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_networking.c:146:23: note: Condition 'is_numeric' is always false pocl-pocl-0a2e04a/lib/CL/pocl_networking.c:180:44: style:inconclusive: Function 'pocl_remote_client_set_socket_options' argument 1 names different: declaration 'fd' definition 'socket_fd'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_networking.h:69:57: note: Function 'pocl_remote_client_set_socket_options' argument 1 names different: declaration 'fd' definition 'socket_fd'. pocl-pocl-0a2e04a/lib/CL/pocl_networking.c:180:44: note: Function 'pocl_remote_client_set_socket_options' argument 1 names different: declaration 'fd' definition 'socket_fd'. pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:13:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:38:46: style: Parameter 'gl_object_type' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:39:44: style: Parameter 'gl_object_name' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:54:36: style: Parameter 'param_value' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:55:38: style: Parameter 'param_value_size_ret' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:246:11: warning:inconclusive: Possible null pointer dereference: ptr [nullPointer] pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:242:23: note: Assignment 'ptr=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:246:11: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:119:63: style:inconclusive: Function 'pocl_raw_ptr_set_insert' argument 2 names different: declaration 'ptr' definition 'raw_ptr'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.h:52:67: note: Function 'pocl_raw_ptr_set_insert' argument 2 names different: declaration 'ptr' definition 'raw_ptr'. pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:119:63: note: Function 'pocl_raw_ptr_set_insert' argument 2 names different: declaration 'ptr' definition 'raw_ptr'. pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:235:61: style:inconclusive: Function 'pocl_raw_ptr_set_erase_all_by_shadow_mem' argument 1 names different: declaration 'Set' definition 'set'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.h:99:66: note: Function 'pocl_raw_ptr_set_erase_all_by_shadow_mem' argument 1 names different: declaration 'Set' definition 'set'. pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:235:61: note: Function 'pocl_raw_ptr_set_erase_all_by_shadow_mem' argument 1 names different: declaration 'Set' definition 'set'. pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:236:50: style:inconclusive: Function 'pocl_raw_ptr_set_erase_all_by_shadow_mem' argument 2 names different: declaration 'shadow_cl_mem' definition 'shadow_mem'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.h:100:55: note: Function 'pocl_raw_ptr_set_erase_all_by_shadow_mem' argument 2 names different: declaration 'shadow_cl_mem' definition 'shadow_mem'. pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:236:50: note: Function 'pocl_raw_ptr_set_erase_all_by_shadow_mem' argument 2 names different: declaration 'shadow_cl_mem' definition 'shadow_mem'. pocl-pocl-0a2e04a/lib/CL/pocl_raw_ptr_set.c:188:20: error: Uninitialized variables: temp_ptr.vm_ptr, temp_ptr.dev_ptr, temp_ptr.device, temp_ptr.size, temp_ptr.shadow_cl_mem, temp_ptr.kind, temp_ptr.usm_properties, temp_ptr.prev, temp_ptr.next [uninitvar] pocl-pocl-0a2e04a/lib/CL/pocl_rdma.c:134:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_QPT_RC [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_rdma.c:196:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_ACCESS_LOCAL_WRITE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_rdma.c:223:58: style: Parameter 'mem_region' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/CL/pocl_rdma.c:200:13: style: Variable 'e' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_run_command.c:178:2: error: #error Must have fork() or vfork() or Win32 CreateProcess [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:151:25: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:149:23: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:149:23: note: Assignment 'args=strdup(val)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:151:18: note: Assignment 'p=args', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:151:25: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:153:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:149:23: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:149:23: note: Assignment 'args=strdup(val)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:151:18: note: Assignment 'p=args', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_runtime_config.c:153:12: note: Null pointer dereference pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:36:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_MAX_TENSOR_RANK_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:157:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_ARG_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:205:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:291:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:521:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:444:59: style:inconclusive: Function 'pocl_tensor_data_is_contiguous' argument 1 names different: declaration 't' definition 'tensor'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.h:65:63: note: Function 'pocl_tensor_data_is_contiguous' argument 1 names different: declaration 't' definition 'tensor'. pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:444:59: note: Function 'pocl_tensor_data_is_contiguous' argument 1 names different: declaration 't' definition 'tensor'. pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:68:34: style: Variable 'ml_layout' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:78:36: style: Variable 'blas_layout' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:105:44: style: Variable 'blas_layout' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:129:44: style: Variable 'blas_pitched_layout' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:233:34: style: Variable 'ml_layout' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:245:36: style: Variable 'blas_layout' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tensor_util.c:260:44: style: Variable 'blas_layout' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_threads.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_threads.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_threads.c:69:18: style: Unused variable: PTAttr [unusedVariable] pocl-pocl-0a2e04a/lib/CL/pocl_threads.c:84:18: style: Unused variable: PTAttr [unusedVariable] pocl-pocl-0a2e04a/lib/CL/pocl_threads.cc:141:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adopt_lock [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_threads.cc:153:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adopt_lock [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_threads.cc:41:3: style: Struct '_pocl_barrier_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/lib/CL/pocl_threads.cc:159:69: style:inconclusive: Function 'pocl_thread_create' argument 3 names different: declaration '' definition 'Arg'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/lib/CL/pocl_timing.c:165:2: error: #error Unknown system variant [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/CL/pocl_timing.cc:49:19: style: Variable 'TM' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_timing.cc:44:13: style: Unused variable: t [unusedVariable] pocl-pocl-0a2e04a/lib/CL/pocl_timing.cc:45:19: style: Unused variable: timespec [unusedVariable] pocl-pocl-0a2e04a/lib/CL/pocl_timing.cc:46:10: style: Unused variable: sec_input [unusedVariable] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:85:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_QUEUED [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMPLETE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:54:41: style:inconclusive: Function 'pocl_event_updated' argument 2 names different: declaration 'new_status' definition 'status'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.h:44:46: note: Function 'pocl_event_updated' argument 2 names different: declaration 'new_status' definition 'status'. pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:54:41: note: Function 'pocl_event_updated' argument 2 names different: declaration 'new_status' definition 'status'. pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:68:30: style: Variable 'token' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:141:21: style: Variable 'node' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:149:7: style: Variable 'statuses' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:150:12: style: Variable 'times' can be declared as const array [constVariable] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:297:18: style: Variable 'md' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/CL/pocl_tracing.c:161:17: style: Variable 'text_size' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/CL/pocl_util.c:2453:1: error: There is an unknown macro here somewhere. Configuration is required. If POCL_ALIGNAS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/kernel/hsail64/barrier.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLK_GLOBAL_MEM_FENCE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/pocl_run_all_wgs.c:52:24: style: Variable 'pc_' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/lib/kernel/pocl_spawn_wg.c:53:30: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/kernel/pocl_wg_spawn.c:40:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gx [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/fma_test.c:46:4: error: #error FMA status unknown [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:232:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:439:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:465:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:646:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:852:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:878:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:70:62: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleef_builtin.c:112:56: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefdp.c:1888:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_builtin( ... ) [syntaxError] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:141:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_FP_ILOGB0 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:154:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_A [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:191:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:244:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_A [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:278:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:354:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_A [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:413:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:538:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX3 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:599:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX3 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:700:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX3 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:750:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX3 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:764:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_A [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:841:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1242:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1377:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1415:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LN2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1485:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1527:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1572:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LN2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1611:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1669:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1706:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1783:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LN2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1823:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1836:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1897:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQRT_DBL_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1911:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQRT_DBL_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:1925:156: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2023:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2073:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2085:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG10_2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2139:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2150:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2199:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2252:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2390:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NAN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2397:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2536:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2560:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NAN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2584:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2640:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2704:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2726:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2748:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2791:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NAN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2844:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NAN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2675:7: style: Redundant initialization for 'clc'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2617:16: note: clc is initialized pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2675:7: note: clc is overwritten pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2842:5: style: Redundant initialization for 'r'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2798:20: note: r is initialized pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2842:5: note: r is overwritten pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2618:12: style: Variable 'v' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:86:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_FP_ILOGB0 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:140:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_Af [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:173:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_Af [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:207:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_Af [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:242:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:292:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:370:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI_Af [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:421:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:542:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAXf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:597:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAXf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:658:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX2f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:809:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_PIf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:832:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:950:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:984:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LN2f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1119:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1135:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1171:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1208:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LN2f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1246:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1303:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1335:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1404:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LN2f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1438:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1452:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1512:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQRT_FLT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1525:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQRT_FLT_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1540:156: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1565:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1577:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG10_2 [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1607:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1618:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1663:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1712:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1900:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1924:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NANf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1948:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NANf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1956:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2019:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2092:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX4f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2139:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIGRANGEMAX4f [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2171:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2221:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2243:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2257:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_INFINITYf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2293:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NANf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2331:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLEEF_NANf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/df.h:25:48: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:249:67: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:300:85: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:428:71: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:665:71: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2192:7: style: Redundant initialization for 'clc'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2151:15: note: clc is initialized pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2192:7: note: clc is overwritten pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2329:5: style: Redundant initialization for 'r'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2300:19: note: r is initialized pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2329:5: note: r is overwritten pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:250:12: style: Local variable 't' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:240:14: note: Shadowed declaration pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:250:12: note: Shadow variable pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:301:12: style: Local variable 't' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:290:14: note: Shadowed declaration pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:301:12: note: Shadow variable pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:429:12: style: Local variable 't' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:419:17: note: Shadowed declaration pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:429:12: note: Shadow variable pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:666:12: style: Local variable 't' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:655:14: note: Shadowed declaration pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:666:12: note: Shadow variable pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1935:101: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1939:101: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1918:39: style: Variable 'n' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1919:39: style: Variable 'd' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:1932:9: style: Unused variable: t [unusedVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2152:11: style: Variable 'v' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsp.c:1773:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_builtin( ... ) [syntaxError] pocl-pocl-0a2e04a/lib/kernel/sleef/test.c:52:2: error: #error Please specify valid vector size with -DVECxxx [preprocessorErrorDirective] pocl-pocl-0a2e04a/lib/kernel/tce/memcpy.c:29:63: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/kernel/tce/memcpy.c:38:59: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/lib/llvmopencl/AllocasToEntry.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/AutomaticLocals.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/BarrierTailReplication.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/CanonicalizeBarriers.cc:31:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/DebugHelpers.cc:29:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/EmitPrintf.cc:56:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoubleTyID [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/llvmopencl/EmitPrintf.cc:202:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/llvmopencl/EmitPrintf.cc:287:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrivateLinkage [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/llvmopencl/EmitPrintf.cc:603:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINTF_BUFFER_CTWORD_FLAG_BITS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/lib/llvmopencl/EmitPrintf.cc:284:23: style: Local variable 'C' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/llvmopencl/EmitPrintf.cc:278:19: note: Shadowed declaration pocl-pocl-0a2e04a/lib/llvmopencl/EmitPrintf.cc:284:23: note: Shadow variable pocl-pocl-0a2e04a/lib/llvmopencl/Flatten.cc:29:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/FlattenBarrierSubs.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/FlattenGlobals.cc:29:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/HandleSamplerInitialization.cc:25:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/ImplicitConditionalBarriers.cc:26:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/ImplicitLoopBarriers.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/InlineKernels.cc:27:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/IsolateRegions.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/Kernel.cc:32:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/LLVMUtils.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/LoopBarriers.cc:29:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/LLVMUtils.h:39:1: error: There is an unknown macro here somewhere. Configuration is required. If POP_COMPILER_DIAGS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/PHIsToAllocas.cc:28:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/ParallelRegion.cc:29:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/RemoveBarrierCalls.cc:27:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/SubCFGFormation.cc:48:1: error: There is an unknown macro here somewhere. Configuration is required. If POP_COMPILER_DIAGS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/VariableUniformityAnalysis.cc:39:1: error: There is an unknown macro here somewhere. Configuration is required. If POP_COMPILER_DIAGS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/Workgroup.cc:47:1: error: There is an unknown macro here somewhere. Configuration is required. If POP_COMPILER_DIAGS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/WorkitemHandler.cc:30:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/WorkitemHandlerChooser.cc:30:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/WorkitemLoops.cc:29:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/lib/llvmopencl/linker.cpp:39:1: error: There is an unknown macro here somewhere. Configuration is required. If IGNORE_COMPILER_WARNING is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/pocld/avahi_advertise.cc:107:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVAHI_ERR_COLLISION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/avahi_advertise.hh:65:3: warning: Member variable 'AvahiAdvertise::server' is not initialized. [uninitMemberVarPrivate] pocl-pocl-0a2e04a/pocld/avahi_advertise.cc:178:59: performance: Function parameter 'serverID' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/pocld/avahi_advertise.cc:180:74: performance: Function parameter 'info' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:84:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_MigrateD2D [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:289:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:311:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:327:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:359:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:387:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:409:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:427:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:450:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:470:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:491:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:514:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:535:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:558:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:580:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:603:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/common_cl.hh:61:31: warning: Member variable 'clKernelStruct::metaData' has no initializer. [uninitMemberVarNoCtor] pocl-pocl-0a2e04a/pocld/common_cl.hh:61:31: warning: Member variable 'clKernelStruct::callback' has no initializer. [uninitMemberVarNoCtor] pocl-pocl-0a2e04a/pocld/common.hh:335:3: warning: Member variable 'Reply::write_start_timestamp_ns' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:35:15: warning: Member variable 'CommandQueue::exit_requested' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/pocld/connection.hh:54:22: style:inconclusive: Technically the member function 'Connection::domain' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/request.hh:45:8: style:inconclusive: Technically the member function 'ByteReader::eof' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/common.hh:335:3: style: Class 'Reply' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:284:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:353:14: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:450:3: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:450:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:300:21: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:322:20: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:372:25: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:399:24: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:422:20: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:482:23: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:526:24: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:549:21: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:571:21: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:593:21: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/cmd_queue.cc:441:19: style: Variable 'ker_id' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/pocld/cmdline.c:220:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmdline.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmdline.c:687:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmdline.c:793:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmdline.c:1022:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmdline.c:1237:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/cmdline.c:1251:10: warning: Identical condition and return expression 'error_occurred', return value is always 0 [identicalConditionAfterEarlyExit] pocl-pocl-0a2e04a/pocld/cmdline.c:1112:24: note: 'error_occurred' is assigned value '0' here. pocl-pocl-0a2e04a/pocld/cmdline.c:1248:7: note: If condition 'error_occurred' is true, the function will return/exit pocl-pocl-0a2e04a/pocld/cmdline.c:1251:10: note: Returning identical expression 'error_occurred' pocl-pocl-0a2e04a/pocld/cmdline.c:214:65: style: Parameter 'args_info' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/pocld/cmdline.c:1107:56: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/pocld/cmdline.c:1152:28: style: Variable 'long_options' can be declared as const array [constVariable] pocl-pocl-0a2e04a/pocld/common.cc:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_Failure [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/common.cc:102:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/common.cc:120:7: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/common.cc:127:9: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/common.cc:104:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/common.cc:107:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/common.cc:95:35: style:inconclusive: Function 'hexdigits' argument 1 names different: declaration '' definition 'acc'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/common.cc:95:48: style:inconclusive: Function 'hexdigits' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/common.cc:48:41: style: Parameter 'evt' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/pocld/common.cc:84:43: style: Parameter 'evt' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/pocld/common.cc:56:47: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/pocld/common.cc:101:48: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/pocld/common.cc:125:11: style: Variable 'res' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/pocld/connection.cc:39:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/connection.cc:48:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/connection.cc:70:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/connection.cc:95:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/connection.cc:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/connection.cc:131:17: style:inconclusive: Technically the member function 'Connection::pollableFd' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/connection.hh:52:7: note: Technically the member function 'Connection::pollableFd' can be const. pocl-pocl-0a2e04a/pocld/connection.cc:131:17: note: Technically the member function 'Connection::pollableFd' can be const. pocl-pocl-0a2e04a/pocld/connection.cc:118:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/connection.cc:60:11: style: The scope of the variable 'Res' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/connection.cc:87:11: style: The scope of the variable 'res' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/daemon.cc:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/daemon.cc:500:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/daemon.cc:584:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_VSOCK [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/daemon.cc:751:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_CreateOrAttachSessionReply [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/daemon.cc:835:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/daemon.hh:64:1: style: The class 'PoclDaemon' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] pocl-pocl-0a2e04a/pocld/daemon.cc:535:19: style: Condition 'listen_addr' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/pocld/daemon.cc:499:23: note: Assignment 'listen_addr=NULL', assigned value is 0 pocl-pocl-0a2e04a/pocld/daemon.cc:535:19: note: Condition 'listen_addr' is always false pocl-pocl-0a2e04a/pocld/daemon.cc:83:29: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/daemon.cc:719:43: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/daemon.cc:100:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:136:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:602:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:605:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:624:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:627:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:649:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:654:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:876:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:885:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/daemon.cc:930:21: style: The scope of the variable 'Fast' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/daemon.cc:540:71: style:inconclusive: Function 'launch' argument 2 names different: declaration 'ports' definition 'Ports'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/daemon.hh:75:61: note: Function 'launch' argument 2 names different: declaration 'ports' definition 'Ports'. pocl-pocl-0a2e04a/pocld/daemon.cc:540:71: note: Function 'launch' argument 2 names different: declaration 'ports' definition 'Ports'. pocl-pocl-0a2e04a/pocld/daemon.cc:179:18: style: Local variable 'Rep' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/daemon.cc:142:16: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/daemon.cc:179:18: note: Shadow variable pocl-pocl-0a2e04a/pocld/daemon.cc:582:18: style: Local variable 'ai' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/daemon.cc:580:13: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/daemon.cc:582:18: note: Shadow variable pocl-pocl-0a2e04a/pocld/daemon.cc:540:36: performance: Function parameter 'ListenAddress' should be passed by const reference. [passedByValue] pocl-pocl-0a2e04a/pocld/daemon.cc:580:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/pocld/daemon.cc:740:7: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/daemon.cc:835:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/daemon.cc:1111:38: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/daemon.cc:162:26: style: Variable 'auth_hex' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/pocld/daemon.cc:500:8: style: Unused variable: buf [unusedVariable] pocl-pocl-0a2e04a/pocld/daemon.cc:553:7: style: Variable 'one' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/pocld/dht_advertise.cc:68:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POCL_REMOTE_DHT_PORT_ENV [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/peer.cc:104:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/peer_handler.cc:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/peer_handler.cc:71:40: style:inconclusive: Function 'PeerHandler' argument 5 names different: declaration 'eh' definition 'e'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/peer_handler.hh:63:42: note: Function 'PeerHandler' argument 5 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/peer_handler.cc:71:40: note: Function 'PeerHandler' argument 5 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/pocld.cc:69:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/pocld_lttng.h:42:1: error: There is an unknown macro here somewhere. Configuration is required. If TRACEPOINT_EVENT is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/pocld/rdma.hh:374:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:68:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDMA_CM_EVENT_DISCONNECTED [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:110:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDMA_CM_EVENT_CONNECT_REQUEST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:154:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:289:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_QPT_RC [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:395:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_WR_SEND [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:410:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_WR_SEND_WITH_IMM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:431:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_WR_RDMA_WRITE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:452:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_WR_RDMA_WRITE_WITH_IMM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:473:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_WR_RDMA_READ [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:496:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_WR_ATOMIC_CMP_AND_SWP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:520:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBV_WR_ATOMIC_FETCH_AND_ADD [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:618:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:635:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDMA_CM_EVENT_CONNECT_REQUEST [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.cc:681:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDMA_CM_EVENT_ADDR_RESOLVED [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma.hh:147:8: style:inconclusive: Technically the member function 'rdmacm::Id::operator==' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/rdma.hh:149:8: style:inconclusive: Technically the member function 'rdmacm::Id::operator==' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/rdma.hh:151:8: style:inconclusive: Technically the member function 'rdmacm::Id::operator!=' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/rdma.hh:153:8: style:inconclusive: Technically the member function 'rdmacm::Id::operator!=' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/rdma.hh:351:12: style:inconclusive: Technically the member function 'ibverbs::MemoryRegion::rkey' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/rdma.hh:353:10: style:inconclusive: Technically the member function 'ibverbs::MemoryRegion::accessFlags' can be const. [functionConst] pocl-pocl-0a2e04a/pocld/rdma.hh:130:3: style: Class 'Id' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:165:3: style: Class 'CompletionChannel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:186:3: style: Class 'CompletionQueue' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:234:3: style: Class 'ProtectionDomain' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:261:5: style: Class 'Access' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:263:5: style: Class 'Access' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:399:3: style: Class 'ScatterGatherEntry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:417:5: style: Class 'Flags' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:419:5: style: Class 'Flags' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.hh:691:3: style: Class 'RdmaConnection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pocl-pocl-0a2e04a/pocld/rdma.cc:136:9: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] pocl-pocl-0a2e04a/pocld/rdma.cc:135:20: note: outer condition: !stop_polling pocl-pocl-0a2e04a/pocld/rdma.cc:136:9: note: identical inner condition: !stop_polling pocl-pocl-0a2e04a/pocld/rdma.cc:117:19: style: Condition '!stop_polling' is always true [knownConditionTrueFalse] pocl-pocl-0a2e04a/pocld/rdma.cc:100:20: note: Assuming that condition '!stop_polling' is not redundant pocl-pocl-0a2e04a/pocld/rdma.cc:117:19: note: Condition '!stop_polling' is always true pocl-pocl-0a2e04a/pocld/rdma.hh:373:50: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/rdma.cc:64:7: style: The scope of the variable 'err' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/rdma.cc:149:24: style:inconclusive: Function 'Id' argument 1 names different: declaration '' definition 'ch'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:149:40: style:inconclusive: Function 'Id' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:151:24: style:inconclusive: Function 'Id' argument 1 names different: declaration '' definition 'ch'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:170:50: style:inconclusive: Function 'ProtectionDomain' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:216:52: style:inconclusive: Function 'CompletionChannel' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:228:48: style:inconclusive: Function 'CompletionQueue' argument 1 names different: declaration '' definition 'cm_id'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:276:36: style:inconclusive: Function 'QueuePair' argument 1 names different: declaration '' definition 'cm_id'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:276:63: style:inconclusive: Function 'QueuePair' argument 2 names different: declaration '' definition 'pd'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:325:45: style:inconclusive: Function 'WorkRequest' argument 1 names different: declaration '' definition 'other'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:359:44: style:inconclusive: Function 'chain' argument 1 names different: declaration 'next' definition 'n'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/rdma.hh:627:33: note: Function 'chain' argument 1 names different: declaration 'next' definition 'n'. pocl-pocl-0a2e04a/pocld/rdma.cc:359:44: note: Function 'chain' argument 1 names different: declaration 'next' definition 'n'. pocl-pocl-0a2e04a/pocld/rdma.cc:378:50: style:inconclusive: Function 'Send' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:401:70: style:inconclusive: Function 'Send' argument 4 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:417:61: style:inconclusive: Function 'RdmaWrite' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:441:43: style:inconclusive: Function 'RdmaWrite' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:460:66: style:inconclusive: Function 'RdmaRead' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:482:11: style:inconclusive: Function 'AtomicCompareAndSwap' argument 7 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:506:62: style:inconclusive: Function 'AtomicFetchAndAdd' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:592:50: style:inconclusive: Function 'chain' argument 1 names different: declaration 'next' definition 'n'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/rdma.hh:657:36: note: Function 'chain' argument 1 names different: declaration 'next' definition 'n'. pocl-pocl-0a2e04a/pocld/rdma.cc:592:50: note: Function 'chain' argument 1 names different: declaration 'next' definition 'n'. pocl-pocl-0a2e04a/pocld/rdma.cc:658:46: style:inconclusive: Function 'RdmaConnection' argument 1 names different: declaration '' definition 'cm_id'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:729:46: style:inconclusive: Function 'post' argument 1 names different: declaration '' definition 'req'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:738:49: style:inconclusive: Function 'post' argument 1 names different: declaration '' definition 'req'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/rdma.cc:676:18: style: Variable 'a' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/pocld/rdma.hh:149:31: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/pocld/rdma.hh:153:31: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/pocld/rdma.cc:390:3: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/rdma.cc:427:3: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/rdma.cc:469:3: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/rdma.cc:492:3: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/rdma.cc:516:3: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/pocld/rdma.cc:665:10: warning: Conversion of string literal "not supported by RDMA" to bool always evaluates to true. [incorrectStringBooleanError] pocl-pocl-0a2e04a/pocld/rdma.cc:64:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/pocld/rdma_reply_th.cc:118:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReplyMsg_t [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma_reply_th.hh:49:15: style:inconclusive: Member variable 'RdmaReplyThread::id_str' is in the wrong place in the initializer list. [initializerList] pocl-pocl-0a2e04a/pocld/rdma_reply_th.cc:34:46: note: Member variable 'RdmaReplyThread::id_str' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/pocld/rdma_reply_th.hh:49:15: note: Member variable 'RdmaReplyThread::id_str' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/pocld/rdma_reply_th.hh:54:15: style:inconclusive: Member variable 'RdmaReplyThread::mem_regions_mutex' is in the wrong place in the initializer list. [initializerList] pocl-pocl-0a2e04a/pocld/rdma_reply_th.cc:35:33: note: Member variable 'RdmaReplyThread::mem_regions_mutex' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/pocld/rdma_reply_th.hh:54:15: note: Member variable 'RdmaReplyThread::mem_regions_mutex' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/pocld/rdma_reply_th.cc:30:40: style:inconclusive: Function 'RdmaReplyThread' argument 2 names different: declaration 'eh' definition 'e'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/rdma_reply_th.hh:60:54: note: Function 'RdmaReplyThread' argument 2 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/rdma_reply_th.cc:30:40: note: Function 'RdmaReplyThread' argument 2 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/rdma_reply_th.cc:33:17: style:inconclusive: Function 'RdmaReplyThread' argument 7 names different: declaration 'mem_region_mutex' definition 'mem_regions_mutex'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/rdma_reply_th.hh:64:31: note: Function 'RdmaReplyThread' argument 7 names different: declaration 'mem_region_mutex' definition 'mem_regions_mutex'. pocl-pocl-0a2e04a/pocld/rdma_reply_th.cc:33:17: note: Function 'RdmaReplyThread' argument 7 names different: declaration 'mem_region_mutex' definition 'mem_regions_mutex'. pocl-pocl-0a2e04a/pocld/rdma_request_th.cc:53:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocalRead [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/rdma_request_th.hh:49:15: style:inconclusive: Member variable 'RdmaRequestThread::id_str' is in the wrong place in the initializer list. [initializerList] pocl-pocl-0a2e04a/pocld/rdma_request_th.cc:32:46: note: Member variable 'RdmaRequestThread::id_str' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/pocld/rdma_request_th.hh:49:15: note: Member variable 'RdmaRequestThread::id_str' is in the wrong place in the initializer list. pocl-pocl-0a2e04a/pocld/rdma_request_th.cc:28:40: style:inconclusive: Function 'RdmaRequestThread' argument 2 names different: declaration 'eh' definition 'e'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/rdma_request_th.hh:60:56: note: Function 'RdmaRequestThread' argument 2 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/rdma_request_th.cc:28:40: note: Function 'RdmaRequestThread' argument 2 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/rdma_request_th.cc:46:7: style: Unused variable: error [unusedVariable] pocl-pocl-0a2e04a/pocld/reply_th.cc:165:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMPLETE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/reply_th.cc:117:19: warning: Member variable 'ReplyQueueThread::netstat' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/pocld/reply_th.cc:118:33: style:inconclusive: Function 'ReplyQueueThread' argument 1 names different: declaration 'Conn' definition 'OutboundConnection'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/reply_th.hh:57:48: note: Function 'ReplyQueueThread' argument 1 names different: declaration 'Conn' definition 'OutboundConnection'. pocl-pocl-0a2e04a/pocld/reply_th.cc:118:33: note: Function 'ReplyQueueThread' argument 1 names different: declaration 'Conn' definition 'OutboundConnection'. pocl-pocl-0a2e04a/pocld/reply_th.cc:119:17: style:inconclusive: Function 'ReplyQueueThread' argument 3 names different: declaration 'eh' definition 'e'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/reply_th.hh:58:32: note: Function 'ReplyQueueThread' argument 3 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/reply_th.cc:119:17: note: Function 'ReplyQueueThread' argument 3 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/request.cc:207:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/request.cc:341:32: style: Condition '!Error' is always true [knownConditionTrueFalse] pocl-pocl-0a2e04a/pocld/request.cc:340:16: note: Assignment 'Error=false', assigned value is 0 pocl-pocl-0a2e04a/pocld/request.cc:341:32: note: Condition '!Error' is always true pocl-pocl-0a2e04a/pocld/request.cc:337:32: style:inconclusive: Function 'read' argument 1 names different: declaration '' definition 'Conn'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/request.cc:339:36: style:inconclusive: Function 'readFull' argument 1 names different: declaration '' definition 'Source'. [funcArgNamesDifferentUnnamed] pocl-pocl-0a2e04a/pocld/request.cc:342:10: style: Local variable 'Error' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/request.cc:340:8: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/request.cc:342:10: note: Shadow variable pocl-pocl-0a2e04a/pocld/request.cc:195:11: style: Unused variable: readb [unusedVariable] pocl-pocl-0a2e04a/pocld/request.cc:342:16: style: Variable 'Error' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/pocld/request_th.cc:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/request_th.cc:66:7: style: The scope of the variable 'NumEvents' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/request_th.cc:42:75: style:inconclusive: Function 'RequestQueueThread' argument 3 names different: declaration 'eh' definition 'e'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/request_th.hh:49:34: note: Function 'RequestQueueThread' argument 3 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/request_th.cc:42:75: note: Function 'RequestQueueThread' argument 3 names different: declaration 'eh' definition 'e'. pocl-pocl-0a2e04a/pocld/request_th.cc:62:11: style: Unused variable: readb [unusedVariable] pocl-pocl-0a2e04a/pocld/shared_cl_context.cc:1066:2: error: failed to evaluate #if condition, undefined function-like macro invocation: CL_MAKE_VERSION( ... ) [syntaxError] pocl-pocl-0a2e04a/pocld/traffic_monitor.cc:74:32: error: syntax error: operator [syntaxError] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:339:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_ServerInfo [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:382:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:387:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_RdmaBufferRegistration [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:440:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_RdmaBufferRegistration [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:593:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:606:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:620:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:635:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:711:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:744:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:889:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:907:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:936:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:959:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:999:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1014:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1033:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1048:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1066:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1086:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_QUE_ID [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_ServerInfoReply [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1213:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MessageType_DeviceInfoReply [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:145:3: warning: Member variable 'VirtualCLContext::Daemon' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:145:3: warning: Member variable 'VirtualCLContext::peer_id' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:145:3: warning: Member variable 'VirtualCLContext::TotalDevices' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:145:3: warning: Member variable 'VirtualCLContext::current_printf_position' is not initialized in the constructor. [uninitMemberVar] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:147:4: style: The destructor '~VirtualCLContext' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] pocl-pocl-0a2e04a/pocld/virtual_cl_context.hh:39:12: note: Virtual destructor in base class pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:147:4: note: Destructor in derived class pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:687:3: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:765:18: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:767:19: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:783:29: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:828:18: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:919:37: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1124:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1204:23: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:773:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:778:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:789:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:795:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1174:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:391:14: style: Same expression used in consecutive assignments of 'pid' and 'did'. [duplicateAssignExpression] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:392:14: note: Same expression used in consecutive assignments of 'pid' and 'did'. pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:391:14: note: Same expression used in consecutive assignments of 'pid' and 'did'. pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1084:12: style: The scope of the variable 'mem_obj_id' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1085:12: style: The scope of the variable 'size_buffer_id' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1087:7: style: The scope of the variable 'err' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1088:9: style: The scope of the variable 'storage' can be reduced. [variableScope] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:300:33: style:inconclusive: Function 'replaceConnections' argument 1 names different: declaration 'Command' definition 'Latency'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:172:63: note: Function 'replaceConnections' argument 1 names different: declaration 'Command' definition 'Latency'. pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:300:33: note: Function 'replaceConnections' argument 1 names different: declaration 'Command' definition 'Latency'. pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:301:33: style:inconclusive: Function 'replaceConnections' argument 2 names different: declaration 'Stream' definition 'Throughput'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:173:63: note: Function 'replaceConnections' argument 2 names different: declaration 'Stream' definition 'Throughput'. pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:301:33: note: Function 'replaceConnections' argument 2 names different: declaration 'Stream' definition 'Throughput'. pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:777:17: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:744:3: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:777:17: note: Shadow variable pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:801:16: style: Local variable 'id' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:744:3: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:801:16: note: Shadow variable pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:835:14: style: Local variable 'id' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:744:3: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:835:14: note: Shadow variable pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:861:18: style: Local variable 'id' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:744:3: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:861:18: note: Shadow variable pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:969:15: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:959:3: note: Shadowed declaration pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:969:15: note: Shadow variable pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:638:22: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:962:29: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1017:21: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1051:23: style: Variable 'm' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:767:9: style: Variable 'options' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:593:3: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:593:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:606:3: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:606:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:620:3: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:620:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:711:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:787:24: style: Variable 'buffer_size' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:889:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:936:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:959:3: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:959:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:999:3: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:999:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1033:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1066:3: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/poclu/bswap.c:59:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_bool [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/bswap.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_int [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/bswap.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_half [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/bswap.c:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_float [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/bswap.c:101:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_int [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/bswap.c:113:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_half [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/bswap.c:125:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_float [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/bswap.c:137:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:65:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:319:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:333:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_EXTENSIONS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:353:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:429:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:517:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:591:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:803:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_IL_VERSION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/poclu/misc.c:622:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: device0_name [nullPointerOutOfMemory] pocl-pocl-0a2e04a/poclu/misc.c:605:35: note: Assuming allocation function fails pocl-pocl-0a2e04a/poclu/misc.c:605:35: note: Assignment 'device0_name=malloc(device0_name_length)', assigned value is 0 pocl-pocl-0a2e04a/poclu/misc.c:622:33: note: Null pointer dereference pocl-pocl-0a2e04a/poclu/misc.c:622:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: deviceN_name [nullPointerOutOfMemory] pocl-pocl-0a2e04a/poclu/misc.c:616:39: note: Assuming allocation function fails pocl-pocl-0a2e04a/poclu/misc.c:616:39: note: Assignment 'deviceN_name=malloc(deviceN_name_length)', assigned value is 0 pocl-pocl-0a2e04a/poclu/misc.c:622:47: note: Null pointer dereference pocl-pocl-0a2e04a/poclu/misc.c:808:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ils [nullPointerOutOfMemory] pocl-pocl-0a2e04a/poclu/misc.c:805:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/poclu/misc.c:805:22: note: Assignment 'ils=malloc(param_size)', assigned value is 0 pocl-pocl-0a2e04a/poclu/misc.c:808:24: note: Null pointer dereference pocl-pocl-0a2e04a/poclu/misc.c:607:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/poclu/misc.c:602:11: note: err is assigned pocl-pocl-0a2e04a/poclu/misc.c:607:11: note: err is overwritten pocl-pocl-0a2e04a/poclu/misc.c:669:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/poclu/misc.c:607:11: note: err is assigned pocl-pocl-0a2e04a/poclu/misc.c:669:7: note: err is overwritten pocl-pocl-0a2e04a/poclu/misc.c:618:15: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/poclu/misc.c:613:15: note: err is assigned pocl-pocl-0a2e04a/poclu/misc.c:618:15: note: err is overwritten pocl-pocl-0a2e04a/poclu/misc.c:669:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/poclu/misc.c:618:15: note: err is assigned pocl-pocl-0a2e04a/poclu/misc.c:669:7: note: err is overwritten pocl-pocl-0a2e04a/poclu/misc.c:649:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/poclu/misc.c:638:11: note: err is assigned pocl-pocl-0a2e04a/poclu/misc.c:649:11: note: err is overwritten pocl-pocl-0a2e04a/poclu/misc.c:669:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/poclu/misc.c:649:11: note: err is assigned pocl-pocl-0a2e04a/poclu/misc.c:669:7: note: err is overwritten pocl-pocl-0a2e04a/poclu/misc.c:806:7: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/poclu/misc.c:803:5: note: err is initialized pocl-pocl-0a2e04a/poclu/misc.c:806:7: note: err is overwritten pocl-pocl-0a2e04a/poclu/misc.c:727:5: style: Label 'IL_ERR' is not used. [unusedLabel] pocl-pocl-0a2e04a/poclu/misc.c:216:14: style: Local variable 'err' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/poclu/misc.c:138:10: note: Shadowed declaration pocl-pocl-0a2e04a/poclu/misc.c:216:14: note: Shadow variable pocl-pocl-0a2e04a/poclu/misc.c:279:55: style: Parameter 'content' can be declared as pointer to const [constParameterPointer] pocl-pocl-0a2e04a/poclu/misc.c:554:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/poclu/misc.c:806:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:39:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_image_desc [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:60:12: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:57:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:57:14: note: Assignment 'filename=(char*)malloc(filename_size+1)', assigned value is 0 pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:60:12: note: Null pointer dereference pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:104:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:101:7: note: err is assigned pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:104:7: note: err is overwritten pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:119:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:112:7: note: err is assigned pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:119:7: note: err is overwritten pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:122:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:119:7: note: err is assigned pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:122:7: note: err is overwritten pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:125:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:122:7: note: err is assigned pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:125:7: note: err is overwritten pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:128:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:125:7: note: err is assigned pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:128:7: note: err is overwritten pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:132:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:128:7: note: err is assigned pocl-pocl-0a2e04a/tests/kernel/image_query_funcs.c:132:7: note: err is overwritten pocl-pocl-0a2e04a/tests/kernel/kernel.c:34:34: error: syntax error [syntaxError] pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:35:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_image_desc [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:90:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: devices [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:80:20: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:80:20: note: Assignment 'devices=malloc(device_id_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:90:30: note: Null pointer dereference pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:82:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:77:5: note: err is assigned pocl-pocl-0a2e04a/tests/kernel/sampler_address_clamp.c:82:7: note: err is overwritten pocl-pocl-0a2e04a/tests/kernel/test_shuffle.cc:47:3: error: There is an unknown macro here somewhere. Configuration is required. If POCLU_ALIGNAS is a macro then please configure it. [unknownMacro] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg.cpp:74:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_READ_ONLY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg.cpp:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg.cpp:120:15: style: The scope of the variable 'arg_x' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg.cpp:121:15: style: The scope of the variable 'arg_y' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg.cpp:122:15: style: The scope of the variable 'arg_z' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg.cpp:111:26: style: Parameter 'argv' can be declared as const array [constParameter] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg2.cpp:66:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_READ_ONLY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg2.cpp:58:9: style: The scope of the variable 'in1' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_alignment_with_dynamic_wg3.cpp:50:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_WRITE_ONLY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c:66:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c:85:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c:80:5: note: err is assigned pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c:85:7: note: err is overwritten pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c:90:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c:85:7: note: err is assigned pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c:90:7: note: err is overwritten pocl-pocl-0a2e04a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local_2.c:58:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_autolocals_in_constexprs.cpp:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_autolocals_in_constexprs.cpp:84:9: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_before_return.cpp:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_barrier_before_return.cpp:95:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_before_return.cpp:102:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_before_return.cpp:123:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_before_return.cpp:144:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_between_for_loops.cpp:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_barrier_between_for_loops.cpp:121:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_between_for_loops.cpp:128:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_between_for_loops.cpp:149:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_barrier_between_for_loops.cpp:186:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_builtin_args.cpp:19:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_builtin_args.cpp:39:17: style: Variable 'FpgaBuiltinKernels' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/regression/test_builtin_args.cpp:48:17: style: Variable 'a' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/regression/test_builtin_regression.cpp:47:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_constant_array.cpp:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_constant_array.cpp:99:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_constant_array.cpp:105:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_early_return.cpp:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_early_return.cpp:91:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_early_return.cpp:98:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_early_return.cpp:120:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_early_return.cpp:140:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_flatten_barrier_subs.cpp:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_flatten_barrier_subs.cpp:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_flatten_barrier_subs.cpp:111:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_flatten_barrier_subs.cpp:230:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_flatten_barrier_subs.cpp:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_flatten_barrier_subs.cpp:243:5: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] pocl-pocl-0a2e04a/tests/regression/test_flatten_barrier_subs.cpp:54:9: error: Resource leak: f [resourceLeak] pocl-pocl-0a2e04a/tests/regression/test_for_with_var_iteration_count.cpp:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_for_with_var_iteration_count.cpp:99:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_for_with_var_iteration_count.cpp:106:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_for_with_var_iteration_count.cpp:129:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_for_with_var_iteration_count.cpp:150:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_for_with_var_iteration_count.cpp:62:9: style: The scope of the variable 'a' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_fors_with_var_iteration_counts.cpp:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_fors_with_var_iteration_counts.cpp:102:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_fors_with_var_iteration_counts.cpp:109:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_fors_with_var_iteration_counts.cpp:66:9: style: The scope of the variable 'a' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_id_dependent_computation.cpp:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_id_dependent_computation.cpp:111:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_id_dependent_computation.cpp:118:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_id_dependent_computation.cpp:140:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_id_dependent_computation.cpp:165:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_infinite_loop.cpp:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_infinite_loop.cpp:97:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_infinite_loop.cpp:103:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_issue_1390.cpp:76:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1435.cpp:124:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_PROGRAM_BINARIES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1525.cpp:76:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_READ_ONLY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1525.cpp:66:22: style: Unused variable: RandomDevice [unusedVariable] pocl-pocl-0a2e04a/tests/regression/test_issue_1548.cpp:35:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1548.cpp:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1548.cpp:17:33: style: Parameter 'P' can be declared as reference to const [constParameterReference] pocl-pocl-0a2e04a/tests/regression/test_issue_1608.cpp:34:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:65:31: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platforms [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:61:56: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:61:33: note: Assignment 'platforms=(cl_platform_id*)malloc(sizeof(cl_platform_id)*num_platforms)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:63:5: note: Assuming condition is false pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:65:31: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:134:11: warning: If memory allocation fails, then there is a possible null pointer dereference: binary [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:133:51: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:133:29: note: Assignment 'binary=(unsigned char*)malloc(size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:134:11: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:146:67: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:144:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:144:21: note: Assignment 'log=(char*)malloc(log_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1711.c:146:67: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:124:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:93:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platforms [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:89:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:89:7: note: Assignment 'platforms=(cl_platform_id*)malloc(sizeof(cl_platform_id)*num_platforms)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:91:3: note: Assuming condition is false pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:93:29: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:180:10: warning: If memory allocation fails, then there is a possible null pointer dereference: binary [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:179:51: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:179:27: note: Assignment 'binary=(unsigned char*)malloc(size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:180:10: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:195:66: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:192:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:192:19: note: Assignment 'log=(char*)malloc(log_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1747.c:195:66: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:95:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platforms [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:91:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:91:7: note: Assignment 'platforms=(cl_platform_id*)malloc(sizeof(cl_platform_id)*num_platforms)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:93:3: note: Assuming condition is false pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:95:29: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:182:10: warning: If memory allocation fails, then there is a possible null pointer dereference: binary [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:181:51: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:181:27: note: Assignment 'binary=(unsigned char*)malloc(size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:182:10: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:197:66: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:194:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:194:19: note: Assignment 'log=(char*)malloc(log_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_issue_1794.c:197:66: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_issue_1826.cpp:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_1962.cpp:45:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_2005.cpp:41:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_2005.cpp:55:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_231.cpp:95:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_READ_WRITE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_445.cpp:47:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_WRITE_ONLY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_445.cpp:52:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_issue_553.cpp:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_577.cpp:31:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_577.cpp:30:32: style: Variable 'e' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/tests/regression/test_issue_757.cpp:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_893.cpp:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_issue_893.cpp:71:7: style: The scope of the variable 'n' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_llvm_segfault_issue_889.c:115:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/regression/test_llvm_segfault_issue_889.c:115:5: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/regression/test_locals.cpp:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_locals.cpp:95:53: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_locals.cpp:115:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_locals.cpp:131:22: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_loop_phi_replication.cpp:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_loop_phi_replication.cpp:97:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_loop_phi_replication.cpp:104:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_loop_phi_replication.cpp:126:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_loop_phi_replication.cpp:149:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_mem_host_ptr_issue.cpp:36:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_BUFFER_CREATE_TYPE_REGION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_mem_host_ptr_issue.cpp:45:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_mem_host_ptr_issue.cpp:68:30: style: The scope of the variable 'Data' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_multi_level_loops_with_barriers.cpp:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_multi_level_loops_with_barriers.cpp:99:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_multi_level_loops_with_barriers.cpp:106:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_multi_level_loops_with_barriers.cpp:129:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_multi_level_loops_with_barriers.cpp:159:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_multi_level_loops_with_barriers.cpp:62:9: style: The scope of the variable 'a' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_null_arg.cpp:58:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_null_arg.cpp:88:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_null_arg.cpp:95:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_null_arg.cpp:117:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_null_arg.cpp:134:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_from_binary_with_local_1_1_1.c:87:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_DEFAULT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:231:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:245:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:292:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:305:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:371:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:397:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:430:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:388:18: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:341:16: note: Shadowed declaration pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:388:18: note: Shadow variable pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:437:23: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:341:16: note: Shadowed declaration pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:437:23: note: Shadow variable pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:185:24: style: Variable 'Item' can be declared as reference to const [constVariableReference] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:156:11: style: Variable 'OneConstantVar' can be declared as const array [constVariable] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:160:11: style: Variable 'TwoConstantVar' can be declared as const array [constVariable] pocl-pocl-0a2e04a/tests/regression/test_program_scope_vars.cpp:183:15: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:95:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: platforms [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:91:32: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:91:7: note: Assignment 'platforms=(cl_platform_id*)malloc(sizeof(cl_platform_id)*num_platforms)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:93:3: note: Assuming condition is false pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:95:29: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:173:10: warning: If memory allocation fails, then there is a possible null pointer dereference: binary [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:172:51: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:172:27: note: Assignment 'binary=(unsigned char*)malloc(size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:173:10: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:188:66: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:185:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:185:19: note: Assignment 'log=(char*)malloc(log_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/regression/test_rematerialized_alloca_load_with_outside_pr_users.c:188:66: note: Null pointer dereference pocl-pocl-0a2e04a/tests/regression/test_setargs.cpp:61:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_setargs.cpp:78:37: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_setargs.cpp:104:16: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_setargs.cpp:113:44: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_simple_for_with_a_barrier.cpp:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_simple_for_with_a_barrier.cpp:98:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_simple_for_with_a_barrier.cpp:105:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_simple_for_with_a_barrier.cpp:127:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_simple_for_with_a_barrier.cpp:154:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_structs_as_args.cpp:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_structs_as_args.cpp:166:41: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_structs_as_args.cpp:189:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_structs_as_args.cpp:224:18: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_structs_as_args.cpp:254:18: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_structs_as_args.cpp:267:46: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_undominated_variable.cpp:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_undominated_variable.cpp:101:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_undominated_variable.cpp:108:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_undominated_variable.cpp:131:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_undominated_variable.cpp:152:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/regression/test_undominated_variable.cpp:64:9: style: The scope of the variable 'a' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_vectors_as_args.cpp:106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_vectors_as_args.cpp:94:11: style: The scope of the variable 'input' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_vectors_as_args.cpp:95:11: style: The scope of the variable 'output' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/regression/test_workitem_func_outside_kernel.cpp:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/regression/test_workitem_func_outside_kernel.cpp:91:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/runtime/image_test_utils.c:51:22: warning: Invalid log10() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] pocl-pocl-0a2e04a/tests/runtime/image_test_utils.c:38:13: note: Assignment 'max=0', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/image_test_utils.c:39:21: note: Assuming condition is false pocl-pocl-0a2e04a/tests/runtime/image_test_utils.c:51:22: note: Invalid argument pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:62:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:119:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assignment 'host_buf=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:119:9: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:120:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assignment 'host_buf=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:120:9: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:121:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assignment 'host_buf=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:121:9: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:122:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assignment 'host_buf=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:122:9: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:149:43: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:115:35: note: Assignment 'host_buf=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:149:43: note: Null pointer addition pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:148:22: style: Variable 'img_pixel' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/tests/runtime/test_buffer-image-copy.c:149:22: style: Variable 'buf_pixel' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:59:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:101:7: warning: If memory allocation fails, then there is a possible null pointer dereference: input [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:95:30: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:95:11: note: Assignment 'input=(cl_float*)malloc(num_floats*sizeof(cl_float))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:101:7: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:72:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:57:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:72:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:43:23: style: Unused variable: spir [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_buffer_migration.c:43:29: style: Unused variable: spirv [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_buffer_ping_pong.c:109:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_READ_WRITE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_buffer_ping_pong.c:144:1: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/tests/runtime/test_buffer_ping_pong.c:59:12: style: Unused variable: total_err [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_buffer_ping_pong.c:59:23: style: Unused variable: spir [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_buffer_ping_pong.c:59:29: style: Unused variable: spirv [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:90:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:151:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:146:38: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:146:38: note: Assignment 'log=malloc(log_size+1)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:151:19: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:152:75: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:146:38: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:146:38: note: Assignment 'log=malloc(log_size+1)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:152:75: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:176:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:171:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:171:34: note: Assignment 'log=malloc(log_size+1)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:176:15: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:177:71: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:171:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:171:34: note: Assignment 'log=malloc(log_size+1)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:177:71: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:284:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:279:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:279:34: note: Assignment 'log=malloc(log_size+1)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:284:15: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:288:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: log [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:279:34: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:279:34: note: Assignment 'log=malloc(log_size+1)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:288:27: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:292:15: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:280:19: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:292:15: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:67:54: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'buildprogram_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:229:75: note: You might need to cast the function pointer here pocl-pocl-0a2e04a/tests/runtime/test_clBuildProgram.c:67:54: note: Parameter 'user_data' can be declared as pointer to const pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernel.c:28:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernel.c:19:22: style: Variable 'context' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernel.c:20:23: style: Variable 'device' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernel.c:21:34: style: Variable 'command_queue' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:38:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:34:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:31:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:34:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:46:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:43:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:46:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:51:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:46:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:51:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:58:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:51:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:58:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:61:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:58:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:61:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:64:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:61:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:64:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:67:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:64:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateKernelsInProgram.c:67:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:58:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:88:5: warning: If memory allocation fails, then there is a possible null pointer dereference: binaries [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:80:43: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:80:14: note: Assignment 'binaries=(const unsigned char**)calloc(num_binaries,sizeof(unsigned char*))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:88:5: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:88:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binary_sizes [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:79:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:79:18: note: Assignment 'binary_sizes=(unsigned long*)malloc(num_binaries*sizeof(unsigned long))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:88:49: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:172:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binary_sizes [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:18: note: Assignment 'binary_sizes=(unsigned long*)malloc(num_binaries*sizeof(unsigned long))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:172:3: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:172:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binary_sizes [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:18: note: Assignment 'binary_sizes=(unsigned long*)malloc(num_binaries*sizeof(unsigned long))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:172:21: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:174:3: warning: If memory allocation fails, then there is a possible null pointer dereference: binaries [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:43: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:14: note: Assignment 'binaries=(const unsigned char**)calloc(num_binaries,sizeof(unsigned char*))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:174:3: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:174:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binary_sizes [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:18: note: Assignment 'binary_sizes=(unsigned long*)malloc(num_binaries*sizeof(unsigned long))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:174:47: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:176:3: warning: If memory allocation fails, then there is a possible null pointer dereference: binaries [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:43: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:14: note: Assignment 'binaries=(const unsigned char**)calloc(num_binaries,sizeof(unsigned char*))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:176:3: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:176:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binary_sizes [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:18: note: Assignment 'binary_sizes=(unsigned long*)malloc(num_binaries*sizeof(unsigned long))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:176:47: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:184:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binaries [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:43: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:14: note: Assignment 'binaries=(const unsigned char**)calloc(num_binaries,sizeof(unsigned char*))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:184:17: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:184:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binaries [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:43: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:165:14: note: Assignment 'binaries=(const unsigned char**)calloc(num_binaries,sizeof(unsigned char*))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:184:37: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:184:50: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: binary_sizes [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:164:18: note: Assignment 'binary_sizes=(unsigned long*)malloc(num_binaries*sizeof(unsigned long))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:184:50: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:58:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:53:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:58:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:75:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:72:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:75:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:82:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:75:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:82:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:91:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:82:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:91:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:167:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:153:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:167:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:179:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:167:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateProgramWithBinary.c:179:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_command_queue [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:175:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_PARTITION_PROPERTIES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:75:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assignment 'queue=malloc(ndevs*sizeof(cl_command_queue))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:75:5: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:80:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assignment 'queue=malloc(ndevs*sizeof(cl_command_queue))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:80:25: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:85:41: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assignment 'queue=malloc(ndevs*sizeof(cl_command_queue))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:85:41: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:96:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assignment 'queue=malloc(ndevs*sizeof(cl_command_queue))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:96:42: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:99:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assignment 'queue=malloc(ndevs*sizeof(cl_command_queue))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:99:20: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:100:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:54:36: note: Assignment 'queue=malloc(ndevs*sizeof(cl_command_queue))', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:100:34: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:191:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dev_pt [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:179:18: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:179:18: note: Assignment 'dev_pt=malloc(dev_pt_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:191:11: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:192:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dev_pt [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:179:18: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:179:18: note: Assignment 'dev_pt=malloc(dev_pt_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:192:14: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:284:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptype [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:278:19: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:278:19: note: Assignment 'ptype=malloc(ptype_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:284:24: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:370:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptype [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:364:19: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:364:19: note: Assignment 'ptype=malloc(ptype_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:370:24: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:80:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:77:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:80:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:141:7: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:133:14: note: err is initialized pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:141:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:156:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:141:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:156:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:150:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:148:11: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:150:11: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:175:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:156:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:175:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:166:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:164:11: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:166:11: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:181:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:175:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:181:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:219:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:181:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:219:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:223:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:219:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:223:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:229:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:223:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:229:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:236:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:229:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:236:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:241:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:236:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:241:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:247:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:241:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:247:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:301:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:247:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:301:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:301:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:255:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:301:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:268:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:263:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:268:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:273:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:268:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:273:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:280:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:273:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:280:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:301:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:280:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:301:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:305:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:301:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:305:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:310:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:305:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:310:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:315:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:310:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:315:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:321:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:315:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:321:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:396:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:321:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:396:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:396:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:329:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:396:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:350:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:342:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:350:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:359:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:350:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:359:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:366:9: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:359:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:366:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:396:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:366:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:396:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:398:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:396:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:398:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:150:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clCreateSubDevices.c:166:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_EXEC_NATIVE_KERNEL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:79:5: warning: If memory allocation fails, then there is a possible null pointer dereference: h_a [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:72:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:72:9: note: Assignment 'h_a=(double*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:79:5: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: h_b [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:73:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:73:9: note: Assignment 'h_b=(double*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:80:5: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:142:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: h_c [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:74:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:74:9: note: Assignment 'h_c=(double*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:94:37: note: Assuming condition is false pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:142:8: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:135:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:131:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:135:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:138:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:135:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clEnqueueNativeKernel.c:138:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:73:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:73:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:68:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:73:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:137:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:122:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:137:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:140:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:137:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:140:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:143:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:140:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:143:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:148:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:143:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:148:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:154:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:148:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:154:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:160:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:154:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:160:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:166:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:160:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:166:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:173:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:166:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clFinish.c:173:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetDeviceInfo.c:27:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clGetDeviceInfo.c:39:11: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetDeviceInfo.c:35:11: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetDeviceInfo.c:39:11: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetDeviceInfo.c:20:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clGetDeviceInfo.c:27:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clGetDeviceInfo.c:39:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clGetEventInfo.c:28:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:83:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KERNEL_ARG_ADDRESS_QUALIFIER [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:356:3: portability: %zi in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:90:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:83:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:90:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:97:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:90:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:97:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:104:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:97:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:104:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:111:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:104:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:111:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:131:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:111:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:131:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:131:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:121:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:131:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:139:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:131:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:139:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:147:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:139:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:147:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:155:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:147:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:155:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:166:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:155:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:166:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:172:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:166:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:172:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:178:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:172:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:178:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:222:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:178:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:222:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:222:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:213:9: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:222:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:277:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:272:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:277:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:282:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:277:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:282:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:289:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:282:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:289:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:297:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:289:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:297:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:299:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:297:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetKernelArgInfo.c:299:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:26:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_bool [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:26:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:20:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:26:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:31:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:26:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:31:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:40:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:31:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:40:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clGetSupportedImageFormats.c:40:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_clSetEventCallback.c:39:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mtx_plain [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clSetEventCallback.c:66:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUBMITTED [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clSetEventCallback.c:126:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_device_id [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clSetEventCallback.c:62:34: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'callback_function' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pocl-pocl-0a2e04a/tests/runtime/test_clSetEventCallback.c:154:60: note: You might need to cast the function pointer here pocl-pocl-0a2e04a/tests/runtime/test_clSetEventCallback.c:62:34: note: Parameter 'user_data' can be declared as pointer to const pocl-pocl-0a2e04a/tests/runtime/test_clSetMemObjectDestructorCallback.c:30:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_clSetMemObjectDestructorCallback.c:30:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_clSetMemObjectDestructorCallback.c:27:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_clSetMemObjectDestructorCallback.c:30:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_clSetMemObjectDestructorCallback.c:10:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pocl-pocl-0a2e04a/tests/runtime/test_clSetMemObjectDestructorCallback.c:42:48: note: You might need to cast the function pointer here pocl-pocl-0a2e04a/tests/runtime/test_clSetMemObjectDestructorCallback.c:10:36: note: Parameter 'user_data' can be declared as pointer to const pocl-pocl-0a2e04a/tests/runtime/test_cl_pocl_content_size.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_CPU [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_cl_pocl_content_size.c:44:27: style: Variable 'max_pattern_size' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_cl_pocl_content_size_migration.c:65:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_cl_pocl_content_size_migration.c:60:27: style: Variable 'max_pattern_size' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_compile_n_link.cpp:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_color_convert.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_color_convert.c:141:18: style: Redundant initialization for 'reference_data'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/tests/runtime/test_dbk_color_convert.c:140:24: note: reference_data is initialized pocl-pocl-0a2e04a/tests/runtime/test_dbk_color_convert.c:141:18: note: reference_data is overwritten pocl-pocl-0a2e04a/tests/runtime/test_dbk_color_convert.c:70:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:52:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_tensor_dim_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:80:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_tensor_dim_exp [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:110:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_MAX_TENSOR_RANK_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:123:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_LAYOUT_BLAS_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:132:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_LAYOUT_BLAS_PITCHED_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:150:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_LAYOUT_ML_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:232:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:299:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:321:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_convert.cpp:40:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:88:38: warning: The class 'TensorLayoutBLASPitched' defines member function with name 'get' also defined in its parent class 'TensorLayoutBLAS'. [duplInheritedMember] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:57:30: note: Parent function 'TensorLayoutBLAS::get' pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:88:38: note: Derived function 'TensorLayoutBLASPitched::get' pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:231:29: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/runtime/test_dbk_convert.cpp:87:10: style: Variable 'Status' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_dbk_convert.cpp:83:10: note: Status is assigned pocl-pocl-0a2e04a/tests/runtime/test_dbk_convert.cpp:87:10: note: Status is overwritten pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:190:14: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:89:9: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization] pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:84:13: note: err is initialized pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:89:9: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:84:9: style: Local variable 'err' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:76:7: note: Shadowed declaration pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:84:9: note: Shadow variable pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:76:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_dbk_jpeg.c:89:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:64:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_DTYPE_FP32_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:122:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:137:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:164:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_DTYPE_FP32_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:221:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_CUSTOM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:216:8: style: Local variable 'Platform' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:45:14: note: Shadowed declaration pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:216:8: note: Shadow variable pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:254:8: style: Local variable 'Platform' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:45:14: note: Shadowed declaration pocl-pocl-0a2e04a/tests/runtime/dbk_utils.hh:254:8: note: Shadow variable pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:173:32: style: Local variable 'MatmulAttrs' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:50:30: note: Shadowed declaration pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:173:32: note: Shadow variable pocl-pocl-0a2e04a/tests/runtime/test_dbk_matmul.cpp:187:9: style: Variable 'AData' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/tests/runtime/test_dbk_onnx_inference.c:64:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dbk_onnx_inference.c:92:3: error: Resource leak: f [resourceLeak] pocl-pocl-0a2e04a/tests/runtime/test_dbk_set_rows.cpp:49:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/include/CL/cl_ext_pocl.h:57:1: error: syntax error [syntaxError] pocl-pocl-0a2e04a/tests/runtime/test_deviceside_enqueue.c:51:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_deviceside_enqueue.c:46:11: style: Unused variable: ndevices [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_deviceside_enqueue.c:47:11: style: Unused variable: i [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_deviceside_enqueue.c:47:14: style: Unused variable: j [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_deviceside_enqueue.c:48:14: style: Unused variable: context [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_deviceside_enqueue.c:49:20: style: Unused variable: queue [unusedVariable] pocl-pocl-0a2e04a/tests/runtime/test_dlopen.c:65:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_dlopen.c:60:11: style: The comparison 'ret == 0' is always true. [knownConditionTrueFalse] pocl-pocl-0a2e04a/tests/runtime/test_dlopen.c:41:13: note: 'ret' is assigned value '0' here. pocl-pocl-0a2e04a/tests/runtime/test_dlopen.c:60:11: note: The comparison 'ret == 0' is always true. pocl-pocl-0a2e04a/tests/runtime/test_dlopen.c:42:23: style: Variable 'libpocl' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:221:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_READ_ONLY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:368:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:374:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:380:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:390:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:396:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:111:5: warning: If memory allocation fails, then there is a possible null pointer dereference: h_a [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:99:21: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:99:9: note: Assignment 'h_a=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:111:5: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:112:5: warning: If memory allocation fails, then there is a possible null pointer dereference: h_b [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:100:21: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:100:9: note: Assignment 'h_b=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:112:5: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:117:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bb1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:104:21: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:104:9: note: Assignment 'bb1=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:117:7: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:117:16: warning: If memory allocation fails, then there is a possible null pointer dereference: bb2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:105:21: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:105:9: note: Assignment 'bb2=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:117:16: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:119:10: warning: If memory allocation fails, then there is a possible null pointer dereference: h_c1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:101:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:101:10: note: Assignment 'h_c1=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:119:10: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:120:10: warning: If memory allocation fails, then there is a possible null pointer dereference: h_c2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:102:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:102:10: note: Assignment 'h_c2=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:120:10: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:121:10: warning: If memory allocation fails, then there is a possible null pointer dereference: h_c3 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:103:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:103:10: note: Assignment 'h_c3=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:121:10: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:366:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: h_c1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:101:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:101:10: note: Assignment 'h_c1=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:366:8: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:366:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: h_c2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:102:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:102:10: note: Assignment 'h_c2=(int*)malloc(bytes)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_enqueue_kernel_from_binary.c:366:19: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:64:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:96:14: warning: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:91:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:91:33: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:96:14: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:97:14: warning: If memory allocation fails, then there is a possible null pointer dereference: host_buf2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:93:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:93:33: note: Assignment 'host_buf2=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:97:14: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:131:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:93:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:93:33: note: Assignment 'host_buf2=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:131:26: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:131:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:91:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:91:33: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_event_cycle.c:131:37: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_event_free.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_event_free.c:213:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_event_free.c:138:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_event_free.c:213:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_event_free.c:85:12: style: Variable 'initial_values' can be declared as const array [constVariable] pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:52:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:94:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:80:39: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:80:39: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:94:23: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:112:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:80:39: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:80:39: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_fill-buffer.c:112:23: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_kernel_cache_includes.c:34:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_kernel_cache_includes.c:57:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_kernel_cache_includes.c:54:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_kernel_cache_includes.c:57:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_kernel_cache_includes.c:79:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_kernel_cache_includes.c:76:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_kernel_cache_includes.c:79:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_large_buf.cpp:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_large_buf.cpp:114:57: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/runtime/test_large_buf.cpp:133:9: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/runtime/test_large_buf.cpp:139:44: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/runtime/test_link_error.c:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_BUILD_PROGRAM_FAILURE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:46:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_PLATFORM_EXTENSIONS_WITH_VERSION [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:60:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: extensions [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assignment 'extensions=malloc(extensions_len)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:60:44: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:61:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: extensions [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assignment 'extensions=malloc(extensions_len)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:61:14: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:63:44: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: extensions [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assignment 'extensions=malloc(extensions_len)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:63:44: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:64:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: extensions [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:50:40: note: Assignment 'extensions=malloc(extensions_len)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:64:14: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:46:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:40:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:46:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:51:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:46:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:51:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:77:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:51:7: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_queue_creation_with_hints.c:77:7: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:50:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:82:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:82:15: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:83:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assignment 'host_buf2=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:83:15: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:98:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assignment 'host_buf2=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:98:26: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:98:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:98:37: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:100:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:100:15: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:101:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assignment 'host_buf2=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:101:15: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:108:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assignment 'host_buf2=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:108:16: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:129:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:77:33: note: Assignment 'host_buf1=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:129:17: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:129:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: host_buf2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:79:33: note: Assignment 'host_buf2=malloc(buf_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:129:33: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:127:23: style: Local variable 'i' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:41:11: note: Shadowed declaration pocl-pocl-0a2e04a/tests/runtime/test_read-copy-write-buffer.c:127:23: note: Shadow variable pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:53:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:67:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: devices [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:59:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:59:17: note: Assignment 'devices=(cl_device_id*)malloc(sizeof(cl_device_id)*ndevices)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:67:34: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:71:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: devices [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:59:40: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:59:17: note: Assignment 'devices=(cl_device_id*)malloc(sizeof(cl_device_id)*ndevices)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:71:34: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:75:40: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:70:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:70:22: note: Assignment 'ip=(char*)malloc(ip_size)', assigned value is 0 pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:75:40: note: Null pointer dereference pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:71:15: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:67:15: note: err is assigned pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:71:15: note: err is overwritten pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:44:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:60:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_remote_discovery.c:71:15: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/runtime/test_tensor_view.cpp:46:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TENSOR_DTYPE_FP32_EXP [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_tensor_view.cpp:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICE_TYPE_ALL [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_user_event.c:71:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_PROFILING_INFO_NOT_AVAILABLE [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/runtime/test_user_event.c:35:21: style: Variable 'user_evt' is assigned a value that is never used. [unreadVariable] pocl-pocl-0a2e04a/tests/spirv/printf.cc:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_PROGRAM_KERNEL_NAMES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/spirv/printf.cc:72:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/spirv/printf.cc:98:37: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/spirv/printf.cc:124:55: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/spirv/printf.cc:133:57: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/spirv/printf.cc:111:13: performance: Range variable 'KernelName' should be declared as const reference. [iterateByValue] pocl-pocl-0a2e04a/tests/tce/autolocal/host.cpp:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/tce/autolocal/host.cpp:102:33: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/autolocal/host.cpp:108:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/autolocal/host.cpp:139:24: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/autolocal/host.cpp:149:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/fp16/host.cpp:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:86:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:106:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:111:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:116:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:121:17: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:187:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:59:10: style: The scope of the variable 'output' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:60:10: style: The scope of the variable 'formattedInput' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/tce/multi_AS_copy/host.cpp:69:10: style: The scope of the variable 'expectedResult' can be reduced. [variableScope] pocl-pocl-0a2e04a/tests/tce/printf/host.cpp:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CONTEXT_PLATFORM [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/tce/printf/host.cpp:101:29: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/printf/host.cpp:107:26: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/printf/host.cpp:132:9: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/tce/printf/host.cpp:147:13: style: C-style pointer casting [cstyleCast] pocl-pocl-0a2e04a/tests/unit/test_fs.cc:42:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/unit/test_runcmds.cc:40:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAKE_COMMAND [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/unit/test_runcmds.cc:53:3: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:94:46: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: devices [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:90:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:90:13: note: Assignment 'devices=(cl_device_id*)malloc(cb)', assigned value is 0 pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:94:46: note: Null pointer dereference pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:127:11: warning: If memory allocation fails, then there is a possible null pointer dereference: init_data [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:124:44: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:124:27: note: Assignment 'init_data=(cl_int*)malloc(4*grid_size*sizeof(cl_int))', assigned value is 0 pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:127:11: note: Null pointer dereference pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:167:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: kern_output [nullPointerOutOfMemory] pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:156:28: note: Assuming allocation function fails pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:156:28: note: Assignment 'kern_output=malloc(grid_size*sizeof(cl_int))', assigned value is 0 pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:167:33: note: Null pointer dereference pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:173:1: style: Label 'ERROR' is not used. [unusedLabel] pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:119:14: style: Local variable 'err' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:65:10: note: Shadowed declaration pocl-pocl-0a2e04a/tests/workgroup/run_kernel.c:119:14: note: Shadow variable pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.h:124:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTPTR_MAX [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:88:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cstr_buf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:92:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zsview [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:96:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable csview [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:136:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cstr [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:186:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable csview [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:193:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zsview [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:212:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zsview [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:223:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cstr_iter [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:314:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_NPOS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:321:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_NPOS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:263:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:285:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:317:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:416:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_UNMATCHEDRIGHTPARENTHESIS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:436:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_OPERANDSTACKOVERFLOW [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:446:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_OPERATORSTACKOVERFLOW [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:458:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_MISSINGOPERAND [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:469:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_OPERATORSTACKUNDERFLOW [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:484:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_UNKNOWNOPERATOR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:601:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_MAX_CLASSES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:631:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_UNMATCHEDRIGHTPARENTHESIS [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:765:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_UNKNOWNOPERATOR [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:779:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_MAX_CAPTURES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:873:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_OUTOFMEMORY [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1023:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1202:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1291:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_OK [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1299:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_DEFAULT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1311:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_MAX_CAPTURES [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1332:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREG_OK [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.h:50:28: style:inconclusive: Boolean expression 'nbytes--!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.h:57:24: style:inconclusive: Boolean expression 'u8pos>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:184:47: style:inconclusive: Boolean expression '(unsigned long)pos<=(unsigned long)sv.size' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/ucd_prv.c:69:48: style:inconclusive: Boolean expression 'isalnum((int)c)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/ucd_prv.c:75:36: style:inconclusive: Boolean expression 'c==' '' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/ucd_prv.c:81:25: style:inconclusive: Boolean expression 'c==8232' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:570:23: style:inconclusive: Boolean expression 'npp==NULL' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:945:75: style:inconclusive: Boolean expression 'isalnum((int)r)!=0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:949:65: style:inconclusive: Boolean expression 'r==' '' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1318:18: style:inconclusive: Boolean expression 'copy' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:89:28: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:93:28: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cstr_prv.h:97:28: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:413:32: style:inconclusive: Function '_operator' argument 2 names different: declaration 'type' definition 't'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:370:44: note: Function '_operator' argument 2 names different: declaration 'type' definition 't'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:413:32: note: Function '_operator' argument 2 names different: declaration 'type' definition 't'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:433:33: style:inconclusive: Function '_pushand' argument 2 names different: declaration 'first' definition 'f'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:371:45: note: Function '_pushand' argument 2 names different: declaration 'first' definition 'f'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:433:33: note: Function '_pushand' argument 2 names different: declaration 'first' definition 'f'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:433:45: style:inconclusive: Function '_pushand' argument 3 names different: declaration 'last' definition 'l'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:371:61: note: Function '_pushand' argument 3 names different: declaration 'last' definition 'l'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:433:45: note: Function '_pushand' argument 3 names different: declaration 'last' definition 'l'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:443:32: style:inconclusive: Function '_pushator' argument 2 names different: declaration 'type' definition 't'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:372:44: note: Function '_pushator' argument 2 names different: declaration 'type' definition 't'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:443:32: note: Function '_pushator' argument 2 names different: declaration 'type' definition 't'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:476:33: style:inconclusive: Function '_evaluntil' argument 2 names different: declaration 'type' definition 'pri'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:373:45: note: Function '_evaluntil' argument 2 names different: declaration 'type' definition 'pri'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:476:33: note: Function '_evaluntil' argument 2 names different: declaration 'type' definition 'pri'. pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1013:14: style: Variable 'tle' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1013:20: style: Variable 'nle' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/cregex_prv.c:1015:20: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.c:75:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utf8_REJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.c:83:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utf8_REJECT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.c:135:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utf8_ACCEPT [valueFlowBailoutIncompleteVar] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.c:53:27: style:inconclusive: Boolean expression 'c<0xD800U' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.c:75:58: style:inconclusive: Boolean expression 'utf8_decode(&d,(uint8_t)*s)!=utf8_REJECT' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.c:83:59: style:inconclusive: Boolean expression 'utf8_decode(&d,(uint8_t)*s)==utf8_REJECT' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] pocl-pocl-0a2e04a/thirdparty/STC/include/stc/priv/utf8_prv.c:146:27: style:inconclusive: Boolean expression 'j1compiler_options=(char*)malloc(size)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:716:33: note: Calling function process_options, 2nd argument is null pocl-pocl-0a2e04a/lib/CL/pocl_build.c:190:3: note: Dereferencing argument modded_options that is null pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1256:3: warning: Null pointer dereference: buf [ctunullpointer] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming that condition 'buf' is not redundant pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1392:49: note: Calling function pocl_deserialize_cl_tensor_desc, 2nd argument is null pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1256:3: note: Dereferencing argument buf that is null diff: 2.20.0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1462:3: warning: If memory allocation fails, then there is a possible null pointer dereference: source1 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1460:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1460:26: note: Assignment 'source1=malloc(source1_size+1)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1462:3: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1472:3: warning: If memory allocation fails, then there is a possible null pointer dereference: source2 [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1470:26: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1470:26: note: Assignment 'source2=malloc(source2_size+1)', assigned value is 0 pocl-pocl-0a2e04a/examples/EinsteinToolkit/EinsteinToolkit.c:1472:3: note: Null pointer dereference head pocl-pocl-0a2e04a/examples/oneapi-samples/src/jacobian-solver/src/jacobian_gpu_sycl_multidevice.cpp:134:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/examples/oneapi-samples/src/mandelbrot/src/mandel.hpp:130:8: style:inconclusive: Technically the member function 'Mandel::Print' can be const. [functionConst] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:129:56: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 1 names different: declaration '' definition 'jniEnv'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:130:15: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 2 names different: declaration '' definition '_jObj'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:130:30: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 3 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:130:43: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_setenv' argument 4 names different: declaration '' definition 'value'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:36:56: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_initCL' argument 1 names different: declaration '' definition 'je'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:36:68: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_initCL' argument 2 names different: declaration '' definition 'jo'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:71:59: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_destroyCL' argument 1 names different: declaration '' definition 'je'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:71:71: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_destroyCL' argument 2 names different: declaration '' definition 'jo'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:82:61: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 1 names different: declaration '' definition 'je'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:82:74: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 2 names different: declaration '' definition 'jo'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:12: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 3 names different: declaration '' definition 'N'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:27: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 4 names different: declaration '' definition '_A'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:43: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 5 names different: declaration '' definition '_B'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/examples/pocl-android-sample/jni/vectorAdd.cpp:83:59: style:inconclusive: Function 'Java_org_pocl_sample1_MainActivity_vectorAddCL' argument 6 names different: declaration '' definition '_C'. [funcArgNamesDifferentUnnamed] 2.20.0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:129:36: warning: If resource allocation fails, then there is a possible null pointer dereference: source_file [nullPointerOutOfResources] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assignment 'source_file=fopen(SRCDIR"/examples/scalarwave/scalarwave.cl","rb")', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:129:36: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:130:9: warning: If resource allocation fails, then there is a possible null pointer dereference: source_file [nullPointerOutOfResources] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assignment 'source_file=fopen(SRCDIR"/examples/scalarwave/scalarwave.cl","rb")', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:130:9: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:133:33: warning: If resource allocation fails, then there is a possible null pointer dereference: source_file [nullPointerOutOfResources] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assignment 'source_file=fopen(SRCDIR"/examples/scalarwave/scalarwave.cl","rb")', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:133:33: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: source [nullPointerOutOfMemory] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:132:31: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:132:18: note: Assignment 'source=(char*)malloc(source_size+1)', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:134:3: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:136:10: warning: If resource allocation fails, then there is a possible null pointer dereference: source_file [nullPointerOutOfResources] pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assuming allocation function fails pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:125:15: note: Assignment 'source_file=fopen(SRCDIR"/examples/scalarwave/scalarwave.cl","rb")', assigned value is 0 pocl-pocl-0a2e04a/examples/scalarwave/scalarwave.c:136:10: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clBuildProgram.c:32:45: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:114:33: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:115:38: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:115:41: style: Variable 'pi' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clCloneKernel.c:36:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandBarrierWithWaitListKHR.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandCopyBufferKHR.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandCopyBufferRectKHR.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandCopyBufferToImageKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandCopyImageKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandCopyImageToBufferKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandFillBufferKHR.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandFillImageKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandNDRangeKernelKHR.c:40:18: style: Variable 'errcode' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clCommandNDRangeKernelKHR.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandReadBufferPOCL.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandReadBufferRectPOCL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandReadImagePOCL.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemFillKHR.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemcpyKHR.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemcpyPOCL.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemcpyRectPOCL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemfillPOCL.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandSVMMemfillRectPOCL.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandWriteBufferPOCL.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandWriteBufferRectPOCL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCommandWriteImagePOCL.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCompileProgram.c:35:47: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:313:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:318:21: style: Variable 'item' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clCreateBuffer.c:414:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateCommandBufferKHR.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateCommandBufferKHR.c:95:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueue.c:37:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueueWithProperties.c:198:34: style: Parameter 'old_properties' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueueWithProperties.c:203:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateCommandQueueWithProperties.c:34:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateContext.c:133:37: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clCreateContext.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateContextFromType.c:35:44: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clCreateContextFromType.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateContextFromType.c:68:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clCreateFromGLTexture.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateFromGLTexture2D.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateFromGLTexture3D.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateImage.c:337:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROPERTY [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateImage2D.c:39:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_IMAGE2D [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateImage3D.c:39:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_OBJECT_IMAGE3D [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateKernel.c:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateKernelsInProgram.c:20:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreatePipe.c:39:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithBuiltInKernels.c:48:9: style: Variable 'token' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithBuiltInKernels.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithDefinedBuiltInKernels.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithIL.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithIL.c:73:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clCreateProgramWithSource.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateSampler.c:101:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateSampler.c:36:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:184:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_buf [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:183:36: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:183:7: note: Assignment 'sub_buf=(struct cl_mem_list_item_t*)calloc(1,sizeof(struct cl_mem_list_item_t))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:184:3: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:222:43: style: Variable 'parent_locked' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:242:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clCreateSubBuffer.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateSubDevices.c:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clCreateUserEvent.c:12:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueAcquireGLObjects.c:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueAcquireGLObjects.c:31:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/clEnqueueBarrier.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueBarrierWithWaitList.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:165:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:167:36: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:178:20: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:178:20: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:182:30: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:182:30: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:30: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:30: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:47: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:200:47: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:201:56: warning:inconclusive: Possible null pointer dereference: cmd [nullPointer] pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:163:31: note: Assignment 'cmd=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:201:56: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:204:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:36:55: style: Parameter 'queues' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCommandBufferKHR.c:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBuffer.c:174:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferRect.c:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyBufferToImage.c:135:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImage.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueCopyImageToBuffer.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueFillBuffer.c:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueFillImage.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMapBuffer.c:115:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMapBuffer.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMapImage.c:166:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMapImage.c:47:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMarker.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMarkerWithWaitList.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMemAdviseINTEL.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMemFillINTEL.c:39:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_MEMFILL_INTEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMemcpyINTEL.c:41:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_MEMCPY_INTEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMigrateMemINTEL.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_MIGRATEMEM_INTEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueMigrateMemObjects.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueNDRangeKernel.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:36:28: debug: Function::addArguments found argument 'user_func' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:49:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:79:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:79:9: style: Variable 'rdonly' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:79:9: style: Variable 'rdonly' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clEnqueueNativeKernel.c:80:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBuffer.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueReadBufferRect.c:190:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueReadImage.c:163:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueReleaseGLObjects.c:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueReleaseGLObjects.c:31:48: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMFree.c:31:39: debug: Function::addArguments found argument 'pfn_free_func' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMFree.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMap.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemFill.c:120:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_SVM_MEMFILL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpy.c:175:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_SVM_MEMCPY [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemcpyRectPOCL.c:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMemfillRectPOCL.c:167:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMMigrateMem.c:119:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_COMMAND_SVM_MIGRATE_MEM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueSVMUnmap.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueUnmapMemObject.c:35:42: style: Parameter 'mapped_ptr' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/clEnqueueUnmapMemObject.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueWaitForEvents.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBuffer.c:145:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteBufferRect.c:182:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clEnqueueWriteImage.c:150:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clFinalizeCommandBufferKHR.c:31:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clFinish.c:45:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clFlush.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetCommandBufferInfoKHR.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetCommandQueueInfo.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetContextInfo.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetDeviceAndHostTimer.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetDeviceIDs.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PLATFORM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetDeviceInfo.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetEventInfo.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetEventProfilingInfo.c:35:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_ulong [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:41:35: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.20.0 pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:50:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_DEVICES_FOR_GL_CONTEXT_KHR [valueFlowBailoutIncompleteVar] 2.20.0 pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:76:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:83:13: style: Condition 'found' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:69:30: note: Assignment 'found=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:75:15: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/clGetGLContextInfoKHR.c:83:13: note: Condition 'found' is always false head pocl-pocl-0a2e04a/lib/CL/clGetHostTimer.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetImageInfo.c:13:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetKernelArgInfo.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetKernelArgInfo.c:51:30: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clGetKernelInfo.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetKernelSubGroupInfo.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetKernelWorkGroupInfo.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetMemAllocInfoINTEL.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetMemObjectInfo.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetMemObjectInfo.c:57:21: style: Variable 'item' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clGetMutableCommandInfoKHR.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MUTABLE_COMMAND_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetMutableCommandInfoKHR.c:96:15: style: Variable 'NG' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clGetMutableCommandInfoKHR.c:99:14: style: Variable 'Res' can be declared as const array [constVariable] head pocl-pocl-0a2e04a/lib/CL/clGetPipeInfo.c:29:11: style: Parameter 'param_value' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/clGetPipeInfo.c:29:32: style: Parameter 'param_value_size_ret' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/clGetPipeInfo.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetPlatformIDs.c:256:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_VALUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetProgramBuildInfo.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetProgramInfo.c:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetSamplerInfo.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_SAMPLER [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clGetSupportedImageFormats.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clLinkProgram.c:35:44: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clLinkProgram.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clMemAllocINTEL.c:198:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_TYPE_HOST_INTEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clMemAllocINTEL.c:208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_TYPE_DEVICE_INTEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clMemAllocINTEL.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_TYPE_SHARED_INTEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clMemFreeINTEL.c:147:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_FALSE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clMemFreeINTEL.c:155:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_TRUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:48:50: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:94:41: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clReleaseCommandBufferKHR.c:96:46: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clReleaseCommandQueue.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseContext.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseDevice.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseEvent.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseKernel.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseKernel.c:82:67: error: Uninitialized variables: n.ptr, n.prev, n.next [uninitvar] head pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:141:37: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:141:37: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:143:19: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:143:19: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:149:15: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:149:15: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:150:15: warning:inconclusive: Possible null pointer dereference: sb [nullPointer] pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:137:36: note: Assignment 'sb=NULL', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:150:15: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:43:30: style: Unused variable: callback [unusedVariable] head pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:43:41: style: Unused variable: next_callback [unusedVariable] head pocl-pocl-0a2e04a/lib/CL/clReleaseMemObject.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseProgram.c:44:15: style: Unused variable: j [unusedVariable] head pocl-pocl-0a2e04a/lib/CL/clReleaseProgram.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clReleaseSampler.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_SAMPLER [valueFlowBailoutIncompleteVar] 2.20.0 pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:280:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRemapCommandBufferKHR.c:63:37: style: Variable 'props' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clRetainCommandBufferKHR.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainCommandBufferKHR.c:34:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clRetainCommandQueue.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_QUEUE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainCommandQueue.c:34:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clRetainContext.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainContext.c:31:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clRetainDevice.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_DEVICE [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainDevice.c:36:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clRetainEvent.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainEvent.c:33:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clRetainKernel.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainKernel.c:32:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clRetainMemObject.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainProgram.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clRetainProgram.c:31:3: style: Variable 'refc' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clRetainSampler.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_SAMPLER [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSVMAlloc.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MEM_SVM_ATOMICS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSVMFree.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetContentSizeBufferPoCL.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetContextDestructorCallback.c:28:44: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clSetContextDestructorCallback.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_CONTEXT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetDefaultDeviceCommandQueue.c:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetEventCallback.c:12:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_EVENT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetEventCallback.c:7:42: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:301:30: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:324:19: style: Local variable 'ptr_value' shadows outer variable [shadowVariable] pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:316:15: note: Shadowed declaration pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:324:19: note: Shadow variable head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:325:29: style: Variable 'uint32_value' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:326:29: style: Variable 'uint64_value' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:331:21: style: Variable 'ptr_value' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:336:26: style: Variable 'uint32_value' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:338:26: style: Variable 'uint64_value' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:344:28: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:426:72: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArg.c:432:64: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArgDevicePointer.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArgMemPointerINTEL.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetKernelArgSVMPointer.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetKernelExecInfo.c:125:19: style: Variable 'dev_ptr' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clSetKernelExecInfo.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_KERNEL [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetMemObjectDestructorCallback.c:11:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_MEM_OBJECT [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetMemObjectDestructorCallback.c:6:22: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clSetProgramReleaseCallback.c:29:24: debug: Function::addArguments found argument 'pfn_notify' with varid 0. [varid0] head pocl-pocl-0a2e04a/lib/CL/clSetProgramReleaseCallback.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetProgramSpecializationConstant.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_PROGRAM [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clSetUserEventStatus.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clUnloadCompiler.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clUnloadPlatformCompiler.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:104:15: style: Variable 'LS' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:105:15: style: Variable 'NG' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:35:10: style: Unused variable: errcode [unusedVariable] head pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_COMMAND_BUFFER_KHR [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:94:29: style: Variable 'program_dev_i' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:95:24: style: Variable 'kernel' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clUpdateMutableCommandsKHR.c:96:28: style: Variable 'realdev' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/CL/clWaitForEvents.c:33:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_SUCCESS [valueFlowBailoutIncompleteVar] 2.20.0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:129:15: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:125:23: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:125:23: note: Assignment 'f=fopen(cpuinfo,"r")', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:129:15: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:178:15: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:174:23: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:174:23: note: Assignment 'f=fopen(cpuinfo,"r")', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:178:15: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:318:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:315:19: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:315:19: note: Assignment 'f=fopen(cpuinfo,"r")', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/cpuinfo.c:318:10: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:169:34: performance: Function parameter 'N' should be passed by const reference. [passedByValue] 2.20.0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-compilation.hh:290:48: performance: Function parameter 'Name' should be passed by const reference. [passedByValue] head pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:1104:12: style: The scope of the variable 'OffsetX' can be reduced. [variableScope] head pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: style: Return value 'Driver->isIntelNPU()' is always false [knownConditionTrueFalse] pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: note: Calling function 'isIntelNPU' returns 0 pocl-pocl-0a2e04a/lib/CL/devices/level0/level0-driver.cc:4186:28: note: Return value 'Driver->isIntelNPU()' is always false head pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:691:34: style:inconclusive: Function 'init_network_discovery' argument 1 names different: declaration 'add_discovered_device' definition 'add_discovered_device_c'. [funcArgNamesDifferent] pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.h:42:12: note: Function 'init_network_discovery' argument 1 names different: declaration 'add_discovered_device' definition 'add_discovered_device_c'. pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:691:34: note: Function 'init_network_discovery' argument 1 names different: declaration 'add_discovered_device' definition 'add_discovered_device_c'. head pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:694:34: style:inconclusive: Function 'init_network_discovery' argument 2 names different: declaration '' definition 'reconnect_callback'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:695:34: style:inconclusive: Function 'init_network_discovery' argument 3 names different: declaration '' definition 'pocl_dev_type_idx'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/CL/devices/remote/network_discovery.c:696:40: style:inconclusive: Function 'init_network_discovery' argument 4 names different: declaration '' definition 'pocl_dev_platform'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/CL/devices/spirv_parser.cc:840:21: style: Variable 'DS' can be declared as reference to const [constVariableReference] head pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:371:29: style: Variable 'meta' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/lib/CL/devices/tce/ttasim/ttasim.cc:385:27: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] 2.20.0 pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:60:22: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:60:22: note: Assignment 'ret=malloc(size+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/devices/tree_sitter/pocl_tree_sitter_utils.c:62:3: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/pocl_build.c:635:45: style:inconclusive: Function 'compile_and_link_program' argument 12 names different: declaration '' definition 'pfn_notify'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/CL/pocl_build.c:706:15: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_options [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:22: note: Assignment 'temp_options=(char*)malloc(len)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:701:19: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/pocl_build.c:706:15: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:706:15: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_options [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:37: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_build.c:699:22: note: Assignment 'temp_options=(char*)malloc(len)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_build.c:706:15: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1391:18: warning: If memory allocation fails, then there is a possible null pointer dereference: (char*)attr->input_tensor_names[i] [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1389:54: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1389:54: note: Assignment 'attr->input_tensor_names[i]=malloc(name_len+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1390:17: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1391:18: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1411:18: warning: If memory allocation fails, then there is a possible null pointer dereference: (char*)attr->output_tensor_names[i] [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1409:55: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1409:55: note: Assignment 'attr->output_tensor_names[i]=malloc(name_len+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1410:17: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1411:18: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1435:18: warning: If memory allocation fails, then there is a possible null pointer dereference: (char*)attr->initializer_names[i] [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1433:53: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1433:53: note: Assignment 'attr->initializer_names[i]=malloc(name_len+1)', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1434:17: note: Assuming condition is false pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:1435:18: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/pocl_builtin_kernels.c:831:65: style:inconclusive: Function 'pocl_validate_dbk_attributes' argument 3 names different: declaration '' definition 'TransA'. [funcArgNamesDifferentUnnamed] 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:101:34: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:101:34: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:103:15: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:103:15: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:103:43: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:103:43: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:98:15: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:98:15: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:98:50: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:98:50: note: Null pointer dereference 2.20.0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:99:15: warning: If memory allocation fails, then there is a possible null pointer dereference: kernel_statistics [nullPointerOutOfMemory] pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:74: note: Assuming allocation function fails pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:62:44: note: Assignment 'kernel_statistics=(struct kernel_stats*)calloc(cq_events_collected,sizeof(struct kernel_stats))', assigned value is 0 pocl-pocl-0a2e04a/lib/CL/pocl_cq_profiling.c:99:15: note: Null pointer dereference head pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:44:47: style:inconclusive: Function 'pocl_dynlib_open' argument 2 names different: declaration 'lazy' definition ''. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:44:57: style:inconclusive: Function 'pocl_dynlib_open' argument 3 names different: declaration 'local' definition ''. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/CL/pocl_dynlib.h:65:41: style:inconclusive: Function 'pocl_dynlib_symbol_address' argument 1 names different: declaration 'dynlib_handle' definition ''. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:13:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:38:46: style: Parameter 'gl_object_type' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:39:44: style: Parameter 'gl_object_name' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:54:36: style: Parameter 'param_value' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:55:38: style: Parameter 'param_value_size_ret' can be declared as pointer to const [constParameterPointer] head pocl-pocl-0a2e04a/lib/CL/pocl_opengl.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_INVALID_OPERATION [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/lib/CL/pocl_threads.cc:159:69: style:inconclusive: Function 'pocl_thread_create' argument 3 names different: declaration '' definition 'Arg'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2618:12: style: Variable 'v' is assigned a value that is never used. [unreadVariable] 2.20.0 pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimddp.c:2618:14: style: Variable 'v' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2152:11: style: Variable 'v' is assigned a value that is never used. [unreadVariable] 2.20.0 pocl-pocl-0a2e04a/lib/kernel/sleef/libm/sleefsimdsp.c:2152:13: style: Variable 'v' is assigned a value that is never used. [unreadVariable] head pocl-pocl-0a2e04a/pocld/common.cc:95:35: style:inconclusive: Function 'hexdigits' argument 1 names different: declaration '' definition 'acc'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/common.cc:95:48: style:inconclusive: Function 'hexdigits' argument 2 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/common_cl.hh:61:31: warning: Member variable 'clKernelStruct::callback' has no initializer. [uninitMemberVarNoCtor] head pocl-pocl-0a2e04a/pocld/common_cl.hh:61:31: warning: Member variable 'clKernelStruct::metaData' has no initializer. [uninitMemberVarNoCtor] head pocl-pocl-0a2e04a/pocld/daemon.cc:540:36: performance: Function parameter 'ListenAddress' should be passed by const reference. [passedByValue] head pocl-pocl-0a2e04a/pocld/daemon.cc:580:13: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] head pocl-pocl-0a2e04a/pocld/rdma.cc:149:24: style:inconclusive: Function 'Id' argument 1 names different: declaration '' definition 'ch'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:149:40: style:inconclusive: Function 'Id' argument 2 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:151:24: style:inconclusive: Function 'Id' argument 1 names different: declaration '' definition 'ch'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:170:50: style:inconclusive: Function 'ProtectionDomain' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:216:52: style:inconclusive: Function 'CompletionChannel' argument 1 names different: declaration '' definition 'id'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:228:48: style:inconclusive: Function 'CompletionQueue' argument 1 names different: declaration '' definition 'cm_id'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:276:36: style:inconclusive: Function 'QueuePair' argument 1 names different: declaration '' definition 'cm_id'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:276:63: style:inconclusive: Function 'QueuePair' argument 2 names different: declaration '' definition 'pd'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:325:45: style:inconclusive: Function 'WorkRequest' argument 1 names different: declaration '' definition 'other'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:378:50: style:inconclusive: Function 'Send' argument 3 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:401:70: style:inconclusive: Function 'Send' argument 4 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:417:61: style:inconclusive: Function 'RdmaWrite' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:441:43: style:inconclusive: Function 'RdmaWrite' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:460:66: style:inconclusive: Function 'RdmaRead' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:482:11: style:inconclusive: Function 'AtomicCompareAndSwap' argument 7 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:506:62: style:inconclusive: Function 'AtomicFetchAndAdd' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:658:46: style:inconclusive: Function 'RdmaConnection' argument 1 names different: declaration '' definition 'cm_id'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:729:46: style:inconclusive: Function 'post' argument 1 names different: declaration '' definition 'req'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/rdma.cc:738:49: style:inconclusive: Function 'post' argument 1 names different: declaration '' definition 'req'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/request.cc:337:32: style:inconclusive: Function 'read' argument 1 names different: declaration '' definition 'Conn'. [funcArgNamesDifferentUnnamed] head pocl-pocl-0a2e04a/pocld/request.cc:339:36: style:inconclusive: Function 'readFull' argument 1 names different: declaration '' definition 'Source'. [funcArgNamesDifferentUnnamed] 2.20.0 pocl-pocl-0a2e04a/pocld/traffic_monitor.cc:58:34: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.20.0 pocl-pocl-0a2e04a/pocld/traffic_monitor.cc:61:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head pocl-pocl-0a2e04a/pocld/traffic_monitor.cc:74:32: error: syntax error: operator [syntaxError] head pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1084:12: style: The scope of the variable 'mem_obj_id' can be reduced. [variableScope] head pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:1085:12: style: The scope of the variable 'size_buffer_id' can be reduced. [variableScope] head pocl-pocl-0a2e04a/pocld/virtual_cl_context.cc:767:9: style: Variable 'options' can be declared as pointer to const [constVariablePointer] DONE