[Bug other/89259] New: liboffloadmic/runtime/offload_omp_host.cpp:692: pointless test ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 8 16:57:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89259
Bug ID: 89259
Summary: liboffloadmic/runtime/offload_omp_host.cpp:692:
pointless test ?
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
liboffloadmic/runtime/offload_omp_host.cpp:692]: (style) Checking if unsigned
expression 'size' is less than zero.
Source code is
// An incorrect size is treated as failure
if (size < 0) {
return 1;
}
but
size_t size,
More information about the Gcc-bugs
mailing list