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=]

Reply via email to