https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[7/8 Regression] Bogus |[7 Regression] Bogus |Warning: |Warning: |'__builtin_memset': |'__builtin_memset': |specified size 4294967291 |specified size 4294967291 |exceeds maximum object size |exceeds maximum object size |2147483647 |2147483647 --- Comment #28 from janus at gcc dot gnu.org --- With a current trunk (gcc version 8.0.1 20180315 / trunk revision 258550), I don't see the warnings on comment 0 and comment 3 any more. I do see them with gcc version 7.2.0 (Ubuntu 7.2.0-1ubuntu1~16.04), but I haven't checked the latest gcc-7-branch.