[Bug middle-end/78973] [7.0 regression] warning: ‘memcpy’: specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 8 00:10:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78973
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|patch |
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
I should add that changing irdebi to take count as an unsigned suppresses the
warning. That is also the recommended way to declare variables that store
sizes or counts that cannot meaningfully be negative.
More information about the Gcc-bugs
mailing list