[Bug target/83443] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c (test for warnings, line 119)
clyon at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 20 10:17:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
They also pass on my side when using cross-compilers.
However, looking at gcc-testsults, builtin-sprintf-warn-18.c fails on
armv8l-unknown-linux-gnueabihf, but this Linaro config is a native one.
In the native case, gcc.log has:
/builtin-sprintf-warn-18.c:120:3: warning: '%9223372036854775808i' directive
width out of range [-Wformat-overflow=]
/builtin-sprintf-warn-18.c:122:3: warning: '%.9223372036854775808i' directive
precision out of range [-Wformat-overflow=]
In the cross-compiler case, my gcc.log has:
/builtin-sprintf-warn-18.c: In function
'test_width_and_precision_out_of_range':
/builtin-sprintf-warn-18.c:120:3: warning: '%9223372036854775808i' directive
width out of range [-Wformat-overflow=]
/builtin-sprintf-warn-18.c:120:3: warning: '%9223372036854775808i' directive
output of 9223372036854775807 bytes causes result to exceed 'INT_MAX'
[-Wformat-overflow=]
/builtin-sprintf-warn-18.c:122:3: warning: '%.9223372036854775808i' directive
precision out of range [-Wformat-overflow=]
/builtin-sprintf-warn-18.c:122:3: warning: '%.9223372036854775808i' directive
output of 9223372036854775807 bytes causes result to exceed 'INT_MAX'
[-Wformat-overflow=]
More information about the Gcc-bugs
mailing list