Hmm, 0x48002002 < 0xFFFFFFFF
Is that a false positive or am I looking at the wrong target for this warning. There are various reports about this and so far most I found where different kinds of false positives. - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101977 - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
If you consider this a false positive at the end of your check consider for now doing a wrapper with just this warning disabled on those two assignments:
#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Warray-bounds" code #pragma GCC diagnostic pop
Hmm,
0x48002002 < 0xFFFFFFFF
Is that a false positive or am I looking at the wrong target for this warning. /gcc.gnu. org/bugzilla/ show_bug. cgi?id= 101977 /gcc.gnu. org/bugzilla/ show_bug. cgi?id= 104657 /gcc.gnu. org/bugzilla/ show_bug. cgi?id= 99578
There are various reports about this and so far most I found where different kinds of false positives.
- https:/
- https:/
- https:/
If you consider this a false positive at the end of your check consider for now doing a wrapper with just this warning disabled on those two assignments:
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
code
#pragma GCC diagnostic pop