From 607f8a593513a2d033a92e0ef32900b59c82b653 Mon Sep 17 00:00:00 2001 From: Owen Avery Date: Thu, 26 Jun 2025 17:13:19 -0400 Subject: [PATCH] ci: Ignore non-rust warnings This should make it easier for us to ignore warnings from outside the rust front end, and therefore make it easier for us to pull from upstream. ChangeLog: * .github/alpine_32bit_log_warnings: Remove lines. * .github/glibcxx_ubuntu64b_log_expected_warnings: Likewise. * .github/log_expected_warnings: Likewise. * .github/workflows/ccpp.yml: Filter out non-rust warnings. * .github/workflows/ccpp32alpine.yml: Likewise and remove redundant command. * .github/safe-grep: New shell script. Signed-off-by: Owen Avery --- .github/alpine_32bit_log_warnings | 150 ------------ .../glibcxx_ubuntu64b_log_expected_warnings | 204 ---------------- .github/log_expected_warnings | 229 ------------------ .github/safe-grep | 11 + .github/workflows/ccpp.yml | 6 +- .github/workflows/ccpp32alpine.yml | 4 +- 6 files changed, 16 insertions(+), 588 deletions(-) create mode 100755 .github/safe-grep diff --git a/.github/alpine_32bit_log_warnings b/.github/alpine_32bit_log_warnings index 763e375d6f07..e69de29bb2d1 100644 --- a/.github/alpine_32bit_log_warnings +++ b/.github/alpine_32bit_log_warnings @@ -1,150 +0,0 @@ -../../../libgcc/soft-fp/fixdfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixdfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixdfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixdfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixdfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixdfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixsfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixsfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixsfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixsfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixsfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixsfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixtfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixtfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixtfbitint.c:67:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixtfbitint.c:67:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixtfbitint.c:71:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixtfbitint.c:71:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixxfbitint.c:62:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixxfbitint.c:62:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixxfbitint.c:68:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixxfbitint.c:68:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixxfbitint.c:72:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/fixxfbitint.c:72:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../gcc/analyzer/kf-analyzer.cc:202:40: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/analyzer/kf-analyzer.cc:202:55: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/analyzer/store.h:312:5: warning: 'size_in_bytes.generic_wide_int >::fixed_wide_int_storage<128>.fixed_wide_int_storage<128>::val[1]' may be used uninitialized [-Wmaybe-uninitialized] -../../gcc/attribs.cc:2330:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2331:44: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/attribs.cc:2332:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2333:44: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/attribs.cc:2352:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2353:40: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/attribs.cc:2354:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2355:40: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c-family/c-common.cc:2979:13: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-common.cc:2979:51: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c-family/c-common.cc:2979:58: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c-family/c-format.cc:4910:24: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-format.cc:4910:29: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c-family/c-format.cc:4910:57: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c-family/c-format.cc:4911:39: warning: format '%d' expects argument of type 'int', but argument 5 has type 'element_format_substring*' [-Wformat=] -../../gcc/c-family/c-format.cc:4911:51: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c-family/c-format.cc:4917:24: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-format.cc:4917:29: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c-family/c-format.cc:4917:51: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:7738:11: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:7738:22: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:7738:49: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:7837:21: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:7837:23: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8687:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8687:52: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8688:39: warning: format '%D' expects argument of type 'tree_node*', but argument 4 has type 'pp_markup::element_expected_type*' [-Wformat=] -../../gcc/c/c-typeck.cc:8688:65: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8693:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8693:52: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8694:51: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8702:57: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8703:66: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8708:57: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8709:52: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8716:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8716:71: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8717:72: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8722:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8722:48: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8723:63: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/c/c-typeck.cc:8745:31: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8745:33: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/diagnostic-path-output.cc:1337:29: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1337:34: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/diagnostic-path-output.cc:1337:46: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'element_event_desc*' [-Wformat=] -../../gcc/diagnostic-path-output.cc:1337:56: warning: format '%i' expects argument of type 'int', but argument 5 has type 'const char*' [-Wformat=] -../../gcc/diagnostic-path-output.cc:1343:27: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1343:32: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/diagnostic-path-output.cc:1343:42: warning: format '%i' expects argument of type 'int', but argument 4 has type 'element_event_desc*' [-Wformat=] -../../gcc/diagnostic-path-output.cc:1349:23: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1349:28: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/expmed.cc:1864:45: warning: '*(unsigned int*)((char*)&imode + offsetof(scalar_int_mode, scalar_int_mode::m_mode))' may be used uninitialized [-Wmaybe-uninitialized] -../../gcc/gimple-ssa-warn-access.cc:2972:20: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gimple-ssa-warn-access.cc:2972:39: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/gimple-ssa-warn-access.cc:3023:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gimple-ssa-warn-access.cc:3023:41: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/opts-diagnostic.cc:173:10: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:173:10: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:174:61: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/opts-diagnostic.cc:174:61: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/opts-diagnostic.cc:254:6: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:255:53: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/opts-diagnostic.cc:357:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:358:69: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/pretty-print.cc:3557:19: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/pretty-print.cc:3557:28: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/pretty-print.cc:3557:38: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/pretty-print.cc:3696:19: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/pretty-print.cc:3696:28: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/pretty-print.cc:3696:38: warning: unknown conversion type character 'e' in format [-Wformat=] -../../gcc/text-art/style.cc:149:25: warning: spurious leading punctuation sequence ';' in format [-Wformat-diag] -../../gcc/text-art/style.cc:159:25: warning: spurious leading punctuation sequence ';' in format [-Wformat-diag] -../../gcc/text-art/table.cc:979:62: warning: unquoted keyword 'char' in format [-Wformat-diag] -../../gcc/text-art/table.cc:979:69: warning: spurious trailing punctuation sequence '])' in format [-Wformat-diag] -./../gcc/auto-host.h:948:9: warning: "HAVE_DECL_BASENAME" redefined -./../gcc/auto-host.h:948:9: warning: "HAVE_DECL_BASENAME" redefined -./../gcc/auto-host.h:948:9: warning: "HAVE_DECL_BASENAME" redefined -gengtype-lex.cc:356:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:356:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:356:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:356:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -libtool: install: warning: remember to run `libtool --finish /usr/local/libexec/gcc/i586-alpine-linux-musl/16.0.0' diff --git a/.github/glibcxx_ubuntu64b_log_expected_warnings b/.github/glibcxx_ubuntu64b_log_expected_warnings index 4a7e11096785..314b69595dac 100644 --- a/.github/glibcxx_ubuntu64b_log_expected_warnings +++ b/.github/glibcxx_ubuntu64b_log_expected_warnings @@ -1,205 +1 @@ -../../../../libgcc/generic-morestack.c:397:16: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:67:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:67:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:71:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:71:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:62:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:62:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:68:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:68:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:72:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:72:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libcpp/expr.cc:882:35: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:885:38: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:896:33: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:908:42: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:911:39: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:918:40: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:185:26: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:214:34: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:3811:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:3826:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/analyzer/kf-analyzer.cc:202:40: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/analyzer/kf-analyzer.cc:202:55: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/analyzer/program-state.cc:1584:15: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/attribs.cc:2330:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2331:44: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/attribs.cc:2332:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2333:44: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/attribs.cc:2352:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2353:40: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/attribs.cc:2354:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2355:40: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-common.cc:2979:13: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-common.cc:2979:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-common.cc:2979:58: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-common.cc:6974:14: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c-family/c-common.cc:6978:16: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c-family/c-format.cc:4910:24: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-format.cc:4910:29: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4910:57: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4911:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘element_format_substring*’ [-Wformat=] -../../gcc/c-family/c-format.cc:4911:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4917:24: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-format.cc:4917:29: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4917:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-warn.cc:3853:23: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-convert.cc:84:13: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:13873:16: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:4555:17: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:5373:16: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:7667:23: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:7738:11: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:7738:22: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:7738:49: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:7837:21: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:7837:23: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8687:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8687:52: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8688:39: warning: format ‘%D’ expects argument of type ‘tree_node*’, but argument 4 has type ‘pp_markup::element_expected_type*’ [-Wformat=] -../../gcc/c/c-typeck.cc:8688:65: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8693:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8693:52: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8694:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8702:57: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8703:66: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8708:57: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8709:52: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8716:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8716:71: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8717:72: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8722:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8722:48: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8723:63: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8745:31: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8745:33: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/collect-utils.cc:237:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/collect2.cc:2403:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/diagnostic-path-output.cc:1337:29: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1337:34: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/diagnostic-path-output.cc:1337:46: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘element_event_desc*’ [-Wformat=] -../../gcc/diagnostic-path-output.cc:1337:56: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘const char*’ [-Wformat=] -../../gcc/diagnostic-path-output.cc:1343:27: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1343:32: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/diagnostic-path-output.cc:1343:42: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘element_event_desc*’ [-Wformat=] -../../gcc/diagnostic-path-output.cc:1349:23: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1349:28: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/diagnostic.cc:1783:15: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/fold-const.cc:383:13: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/gcc.cc:2423:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2424:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2443:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2444:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2469:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2470:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2478:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2479:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2488:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2489:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2498:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2499:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2538:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2538:59: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2550:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2550:51: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2564:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2564:51: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gimple-range-gori.cc:318:19: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/gimple-ssa-warn-access.cc:2972:20: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gimple-ssa-warn-access.cc:2972:39: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/gimple-ssa-warn-access.cc:3023:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gimple-ssa-warn-access.cc:3023:41: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/ipa-devirt.cc:967:10: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/lto-ltrans-cache.cc:164:13: warning: ‘checksum’ may be used uninitialized [-Wmaybe-uninitialized] -../../gcc/lto-wrapper.cc:2026:23: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/opts-diagnostic.cc:173:10: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:173:10: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:174:61: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/opts-diagnostic.cc:174:61: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/opts-diagnostic.cc:254:6: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:255:53: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/opts-diagnostic.cc:357:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:358:69: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3557:19: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/pretty-print.cc:3557:28: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3557:38: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3696:19: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/pretty-print.cc:3696:28: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3696:38: warning: unknown conversion type character ‘e’ in format [-Wformat=] ../../gcc/rust/checks/errors/borrowck/rust-borrow-checker-diagnostics.cc:145:46: warning: narrowing conversion of ‘loan’ from ‘Rust::Polonius::Loan’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} [-Wnarrowing] -../../gcc/text-art/style.cc:149:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] -../../gcc/text-art/style.cc:159:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] -../../gcc/text-art/table.cc:979:62: warning: unquoted keyword ‘char’ in format [-Wformat-diag] -../../gcc/text-art/table.cc:979:69: warning: spurious trailing punctuation sequence ‘])’ in format [-Wformat-diag] -../../gcc/tree-ssa-sccvn.cc:286:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:882:35: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:885:38: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:896:33: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:908:42: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:911:39: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:918:40: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:185:26: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:214:34: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:3811:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:3826:25: warning: format not a string literal and no format arguments [-Wformat-security] -/home/runner/work/gccrs/gccrs/gccrs-build/x86_64-pc-linux-gnu/32/libssp/../../../../libssp/gets-chk.c:73: warning: the `gets' function is dangerous and should not be used. -/home/runner/work/gccrs/gccrs/gccrs-build/x86_64-pc-linux-gnu/libssp/../../../libssp/gets-chk.c:73: warning: the `gets' function is dangerous and should not be used. -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -libtool: install: warning: remember to run `libtool --finish /usr/local/libexec/gcc/x86_64-pc-linux-gnu/16.0.0' diff --git a/.github/log_expected_warnings b/.github/log_expected_warnings index 427a2e8cc37f..314b69595dac 100644 --- a/.github/log_expected_warnings +++ b/.github/log_expected_warnings @@ -1,230 +1 @@ -../../../../libgcc/generic-morestack.c:397:16: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixdfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:51:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixsfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:61:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:67:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:67:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:71:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixtfbitint.c:71:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:62:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:62:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:68:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:68:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:72:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/fixxfbitint.c:72:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1477:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1492:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1515:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1560:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../../libgcc/soft-fp/op-common.h:1563:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘USItype’ {aka ‘unsigned int’} [-Wsign-compare] -../../../libcpp/expr.cc:882:35: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:885:38: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:896:33: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:908:42: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:911:39: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/expr.cc:918:40: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/lex.cc:2134:39: warning: ‘loc’ may be used uninitialized [-Wmaybe-uninitialized] -../../../libcpp/macro.cc:185:26: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:214:34: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:3811:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:3826:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../c++tools/server.cc:490:11: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../c++tools/server.cc:620:10: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/../libgcc/libgcov-util.c:456:9: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/analyzer/kf-analyzer.cc:202:40: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/analyzer/kf-analyzer.cc:202:55: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/analyzer/program-state.cc:1584:15: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/analyzer/store.h:312:5: warning: ‘size_in_bytes.generic_wide_int >::.fixed_wide_int_storage<128>::val[1]’ may be used uninitialized [-Wmaybe-uninitialized] -../../gcc/attribs.cc:2330:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2331:44: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/attribs.cc:2332:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2333:44: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/attribs.cc:2352:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2353:40: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/attribs.cc:2354:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/attribs.cc:2355:40: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-common.cc:2979:13: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-common.cc:2979:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-common.cc:2979:58: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-common.cc:6974:14: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c-family/c-common.cc:6978:16: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c-family/c-format.cc:4910:24: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-format.cc:4910:29: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4910:57: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4911:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘element_format_substring*’ [-Wformat=] -../../gcc/c-family/c-format.cc:4911:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4917:24: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c-family/c-format.cc:4917:29: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-format.cc:4917:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c-family/c-warn.cc:3853:23: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-convert.cc:84:13: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:13873:16: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:4555:17: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:5373:16: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:7667:23: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/c/c-typeck.cc:7738:11: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:7738:22: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:7738:49: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:7837:21: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:7837:23: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8687:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8687:52: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8688:39: warning: format ‘%D’ expects argument of type ‘tree_node*’, but argument 4 has type ‘pp_markup::element_expected_type*’ [-Wformat=] -../../gcc/c/c-typeck.cc:8688:65: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8693:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8693:52: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8694:51: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8702:57: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8703:66: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8708:57: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8709:52: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8716:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8716:71: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8717:72: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8722:36: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8722:48: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8723:63: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/c/c-typeck.cc:8745:31: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/c/c-typeck.cc:8745:33: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/collect-utils.cc:237:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/collect2.cc:2403:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/diagnostic-path-output.cc:1337:29: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1337:34: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/diagnostic-path-output.cc:1337:46: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘element_event_desc*’ [-Wformat=] -../../gcc/diagnostic-path-output.cc:1337:56: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘const char*’ [-Wformat=] -../../gcc/diagnostic-path-output.cc:1343:27: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1343:32: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/diagnostic-path-output.cc:1343:42: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘element_event_desc*’ [-Wformat=] -../../gcc/diagnostic-path-output.cc:1349:23: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/diagnostic-path-output.cc:1349:28: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/diagnostic.cc:1783:15: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/expmed.cc:1864:45: warning: ‘*(unsigned int*)((char*)&imode + offsetof(scalar_int_mode, scalar_int_mode::m_mode))’ may be used uninitialized in this function [-Wmaybe-uninitialized] -../../gcc/fold-const.cc:383:13: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/gcc.cc:10812:12: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/gcc.cc:2423:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2424:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2443:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2444:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2469:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2470:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2478:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2479:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2488:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2489:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2498:30: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2499:32: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2538:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2538:59: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2550:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2550:51: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:2564:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gcc.cc:2564:51: warning: unknown conversion type character ‘t’ in format [-Wformat=] -../../gcc/gcc.cc:7938:9: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/gcc.cc:7941:13: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/gcc.cc:7942:13: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/gcc.cc:7944:9: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/gcc.cc:9325:13: warning: ignoring return value of ‘int truncate(const char*, __off_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/genhooks.cc:112:17: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/genhooks.cc:121:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/genhooks.cc:174:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/genhooks.cc:180:14: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/gimple-fold.cc:7674:20: warning: ‘xor_cmp_op’ may be used uninitialized in this function [-Wmaybe-uninitialized] -../../gcc/gimple-range-gori.cc:318:19: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/gimple-ssa-warn-access.cc:2972:20: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gimple-ssa-warn-access.cc:2972:39: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/gimple-ssa-warn-access.cc:3023:22: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/gimple-ssa-warn-access.cc:3023:41: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/ipa-devirt.cc:967:10: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/lto-wrapper.cc:1171:8: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/lto-wrapper.cc:2026:23: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/lto/lto-common.cc:2095:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/lto/lto-common.cc:2097:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/lto/lto-common.cc:2117:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/opts-diagnostic.cc:173:10: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:173:10: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:174:61: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/opts-diagnostic.cc:174:61: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/opts-diagnostic.cc:254:6: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:255:53: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/opts-diagnostic.cc:357:26: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/opts-diagnostic.cc:358:69: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3557:19: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/pretty-print.cc:3557:28: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3557:38: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3696:19: warning: too many arguments for format [-Wformat-extra-args] -../../gcc/pretty-print.cc:3696:28: warning: unknown conversion type character ‘e’ in format [-Wformat=] -../../gcc/pretty-print.cc:3696:38: warning: unknown conversion type character ‘e’ in format [-Wformat=] ../../gcc/rust/checks/errors/borrowck/rust-borrow-checker-diagnostics.cc:145:46: warning: narrowing conversion of ‘loan’ from ‘Rust::Polonius::Loan’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} [-Wnarrowing] -../../gcc/text-art/style.cc:149:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] -../../gcc/text-art/style.cc:159:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] -../../gcc/text-art/table.cc:979:62: warning: unquoted keyword ‘char’ in format [-Wformat-diag] -../../gcc/text-art/table.cc:979:69: warning: spurious trailing punctuation sequence ‘])’ in format [-Wformat-diag] -../../gcc/tree-ssa-sccvn.cc:286:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/tree-vect-stmts.cc:10893:47: warning: ‘stride_step’ may be used uninitialized in this function [-Wmaybe-uninitialized] -../../gcc/tree.h:3857:41: warning: ‘append_args_last’ may be used uninitialized in this function [-Wmaybe-uninitialized] -../../gcc/vec.h:347:10: warning: ‘void free(void*)’ called on unallocated object ‘tombstone_uids’ [-Wfree-nonheap-object] -../../gcc/vec.h:347:10: warning: ‘void free(void*)’ called on unallocated object ‘unique_labels’ [-Wfree-nonheap-object] -../../libcpp/expr.cc:882:35: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:885:38: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:896:33: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:908:42: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:911:39: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/expr.cc:918:40: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/lex.cc:2134:39: warning: ‘loc’ may be used uninitialized [-Wmaybe-uninitialized] -../../libcpp/macro.cc:185:26: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:214:34: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:3811:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:3826:25: warning: format not a string literal and no format arguments [-Wformat-security] -/home/runner/work/gccrs/gccrs/gccrs-build/x86_64-pc-linux-gnu/32/libssp/../../../../libssp/gets-chk.c:73: warning: the `gets' function is dangerous and should not be used. -/home/runner/work/gccrs/gccrs/gccrs-build/x86_64-pc-linux-gnu/libssp/../../../libssp/gets-chk.c:73: warning: the `gets' function is dangerous and should not be used. -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -gengtype-lex.cc:357:15: warning: this statement may fall through [-Wimplicit-fallthrough=] -libtool: install: warning: remember to run `libtool --finish /usr/local/libexec/gcc/x86_64-pc-linux-gnu/16.0.0' diff --git a/.github/safe-grep b/.github/safe-grep new file mode 100755 index 000000000000..571702382f5d --- /dev/null +++ b/.github/safe-grep @@ -0,0 +1,11 @@ +#!/bin/sh +# grep exits with 1 if it doesn't match any lines +# this script wraps grep, mapping exits codes 1->0, x->x + +grep "$@" +EXIT_CODE="$?" +if [ x$EXIT_CODE = x1 ]; then + exit 0 +else + exit $EXIT_CODE +fi diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 886780ee5e6c..6d110a7a5cec 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -68,7 +68,7 @@ jobs: - name: Check for new warnings run: | cd gccrs-build - < log grep 'warning: ' | sort > log_warnings + < log grep 'warning: ' | grep rust | sort > log_warnings if diff -U0 ../.github/log_expected_warnings log_warnings; then : else @@ -153,7 +153,7 @@ jobs: - name: Check for new warnings run: | cd gccrs-build - < log grep 'warning: ' | sort > log_warnings + < log grep 'warning: ' | grep rust | sort > log_warnings if diff -U0 ../.github/glibcxx_ubuntu64b_log_expected_warnings log_warnings; then : else @@ -237,7 +237,7 @@ jobs: - name: Check for new warnings run: | cd gccrs-build - < log grep 'warning: ' | sort > log_warnings + < log grep 'warning: ' | grep rust | sort > log_warnings if diff -U0 ../.github/log_expected_warnings log_warnings; then : else diff --git a/.github/workflows/ccpp32alpine.yml b/.github/workflows/ccpp32alpine.yml index e2817d4f6cde..5eb0c230df23 100644 --- a/.github/workflows/ccpp32alpine.yml +++ b/.github/workflows/ccpp32alpine.yml @@ -80,7 +80,8 @@ jobs: - name: Produce warning logs run: | cd gccrs-build - < log grep 'warning: ' | sort > log_warnings + # grep exits with 1 if it doesn't find at least one match + < log grep 'warning: ' | ../.github/safe-grep rust | sort > log_warnings cat log_warnings shell: alpine.sh {0} - name: Archive warnings logs @@ -92,7 +93,6 @@ jobs: - name: Check for new warnings run: | cd gccrs-build - < log grep 'warning: ' | sort > log_warnings if diff -U0 ../.github/alpine_32bit_log_warnings log_warnings; then : else