This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/78973] warning: ‘memcpy’: specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]