[Bug c/94021] -Werror=format-truncation= seems to cause incorrect warning, thus error.
ishikawa at yk dot rim.or.jp
gcc-bugzilla@gcc.gnu.org
Tue Mar 3 20:30:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94021
--- Comment #3 from ishikawa,chiaki <ishikawa at yk dot rim.or.jp> ---
Created attachment 47965
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47965&action=edit
A short program that does NOT produce the error/warning.
A simple problem that does NOT produce error/warning.
So I am at a loss as to create a simple sample program.
This source needs to be copied to /tmp/t-format-issue.c
The original attachment, the preprocessed file needs to be copied to
/tmp/Unified_c_libical_src_libical1.preprocessed.c
for the script I uploaded in 47962.
TIA
More information about the Gcc-bugs
mailing list