[Bug middle-end/86261] [8/9 Regression] incorrect -Wformat-truncation warning
astieger at suse dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 21 14:22:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86261
Andreas Stieger <astieger at suse dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |astieger at suse dot com
--- Comment #1 from Andreas Stieger <astieger at suse dot com> ---
(In reply to Richard Biener from comment #0)
> I don't really see how this can print 60 bytes as the integers are limited.
printf("02d", INT_MAX) is "2147483647" of length 10, times 6x%d is 60.
More information about the Gcc-bugs
mailing list