https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89473
Bug ID: 89473 Summary: FAIL: gcc.dg/tree-ssa/builtin-sprintf-10.c (test for excess errors) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/obj dir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10 .c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics- color=never -O2 -Wall -fdump-tree-optimized -S -o builtin-sprintf-10.s /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c: In fu nction 'elim_wide_char_call': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:50:25: warning: format '%lc' expects argument of type 'wint_t', but argument 4 has typ e 'long int' [-Wformat=] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:26:9: note: in definition of macro 'ELIM' /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:50:28: note: format string is defined here /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:51:25: warning: format '%lc' expects argument of type 'wint_t', but argument 4 has typ e 'long int' [-Wformat=] [...] FAIL: gcc.dg/tree-ssa/builtin-sprintf-10.c (test for excess errors) Excess errors: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:50:25: warning: format '%lc' expects argument of type 'wint_t', but argument 4 has type 'long int' [-Wformat=] [...]