This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/78973] warning: ‘memcpy’: specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2017 16:10:11 +0000
- Subject: [Bug c/78973] warning: ‘memcpy’: specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
- Auto-submitted: auto-generated
- References: <bug-78973-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78973
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Summary|[7 Regression] warning: |warning: ‘memcpy’:
|‘memcpy’: specified size |specified size between
|between |18446744071562067968 and
|18446744071562067968 and |18446744073709551615
|18446744073709551615 |exceeds maximum object size
|exceeds maximum object size |9223372036854775807
|9223372036854775807 |[-Wstringop-overflow=]
|[-Wstringop-overflow=] |
Severity|normal |enhancement
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
> That said, unless this particular instance of the warning is a false
> positive, I would view this report as an enhancement request rather than a
> regression. Can you explain why you marked it as such?
No. It was just on oversight. Sorry.
I noticed this particular warning while building the Linux kernel.
I'm not sure if it makes sense in this context, but haven't looked deeper yet.