From 950ec4a2616c89f422da8ef34d709c7733402315 Mon Sep 17 00:00:00 2001 From: Owen Avery Date: Tue, 3 Dec 2024 13:37:14 -0500 Subject: [PATCH] Adjust expected warnings for CI ChangeLog: * .github/alpine_32bit_log_warnings: Adjust line numbers. * .github/log_expected_warnings: Likewise. Signed-off-by: Owen Avery --- .github/alpine_32bit_log_warnings | 4 ++-- .github/log_expected_warnings | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/alpine_32bit_log_warnings b/.github/alpine_32bit_log_warnings index 32a83ef1078c..42363c995f85 100644 --- a/.github/alpine_32bit_log_warnings +++ b/.github/alpine_32bit_log_warnings @@ -82,8 +82,8 @@ ../../gcc/gcc.cc:2539:51: warning: unknown conversion type character 't' in format [-Wformat=] ../../gcc/gcc.cc:2553:22: warning: too many arguments for format [-Wformat-extra-args] ../../gcc/gcc.cc:2553:51: warning: unknown conversion type character 't' in format [-Wformat=] -../../gcc/text-art/style.cc:150:25: warning: spurious leading punctuation sequence ';' in format [-Wformat-diag] -../../gcc/text-art/style.cc:160:25: warning: spurious leading punctuation sequence ';' in format [-Wformat-diag] +../../gcc/text-art/style.cc:151:25: warning: spurious leading punctuation sequence ';' in format [-Wformat-diag] +../../gcc/text-art/style.cc:161:25: warning: spurious leading punctuation sequence ';' in format [-Wformat-diag] ../../gcc/text-art/table.cc:981:62: warning: unquoted keyword 'char' in format [-Wformat-diag] ../../gcc/text-art/table.cc:981:69: warning: spurious trailing punctuation sequence '])' in format [-Wformat-diag] /usr/include/c++/13.2.1/bits/new_allocator.h:172:33: warning: '*(std::_Vector_base >*)((char*)&saved + offsetof(Rust::BIR::PatternBindingBuilder::SavedState, Rust::BIR::PatternBindingBuilder::SavedState::regions.tl::optional::.tl::detail::optional_move_assign_base::.tl::detail::optional_copy_assign_base::.tl::detail::optional_move_base::.tl::detail::optional_copy_base::.tl::detail::optional_operations_base::.tl::detail::optional_storage_base::)).std::_Vector_base >::_M_impl.std::_Vector_base >::_Vector_impl::.std::_Vector_base >::_Vector_impl_data::_M_start' may be used uninitialized [-Wmaybe-uninitialized] diff --git a/.github/log_expected_warnings b/.github/log_expected_warnings index 989829d685f4..3a49ba66adae 100644 --- a/.github/log_expected_warnings +++ b/.github/log_expected_warnings @@ -72,8 +72,8 @@ ../../../libcpp/lex.cc:2120: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:3710:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../../libcpp/macro.cc:3725:25: warning: format not a string literal and no format arguments [-Wformat-security] +../../../libcpp/macro.cc:3713:25: warning: format not a string literal and no format arguments [-Wformat-security] +../../../libcpp/macro.cc:3728: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:455:9: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] @@ -87,8 +87,8 @@ ../../gcc/c/c-typeck.cc:4648:16: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/c/c-typeck.cc:6913:23: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/collect-utils.cc:237:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/collect2.cc:2400:21: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/diagnostic.cc:2316:15: warning: format not a string literal and no format arguments [-Wformat-security] +../../gcc/collect2.cc:2401:21: warning: format not a string literal and no format arguments [-Wformat-security] +../../gcc/diagnostic.cc:2333:15: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/expmed.cc:1845: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:384:13: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/gcc.cc:10668:12: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] @@ -120,18 +120,18 @@ ../../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-range-gori.cc:318:19: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/ipa-devirt.cc:967:10: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/lto-wrapper.cc:1151: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:1369:10: warning: format not a string literal and no format arguments [-Wformat-security] -../../gcc/lto-wrapper.cc:1971:23: warning: format not a string literal and no format arguments [-Wformat-security] +../../gcc/lto-wrapper.cc:1155: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:1373:10: warning: format not a string literal and no format arguments [-Wformat-security] +../../gcc/lto-wrapper.cc:1975:23: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/lto/lto-common.cc:2084:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] ../../gcc/lto/lto-common.cc:2086: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:2106:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] -../../gcc/text-art/style.cc:150:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] -../../gcc/text-art/style.cc:160:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] +../../gcc/text-art/style.cc:151:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] +../../gcc/text-art/style.cc:161:25: warning: spurious leading punctuation sequence ‘;’ in format [-Wformat-diag] ../../gcc/text-art/table.cc:981:62: warning: unquoted keyword ‘char’ in format [-Wformat-diag] ../../gcc/text-art/table.cc:981: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:10397:47: warning: ‘stride_step’ may be used uninitialized in this function [-Wmaybe-uninitialized] +../../gcc/tree-vect-stmts.cc:10415:47: warning: ‘stride_step’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../../gcc/vec.h:347:10: warning: ‘void free(void*)’ called on unallocated object ‘dest_bbs’ [-Wfree-nonheap-object] ../../libcpp/expr.cc:842:35: warning: format not a string literal and no format arguments [-Wformat-security] ../../libcpp/expr.cc:845:38: warning: format not a string literal and no format arguments [-Wformat-security] @@ -142,13 +142,13 @@ ../../libcpp/lex.cc:2120: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:3710:25: warning: format not a string literal and no format arguments [-Wformat-security] -../../libcpp/macro.cc:3725:25: warning: format not a string literal and no format arguments [-Wformat-security] +../../libcpp/macro.cc:3713:25: warning: format not a string literal and no format arguments [-Wformat-security] +../../libcpp/macro.cc:3728: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=] -install.texi:2231: warning: `.' or `,' must follow @xref, not f +install.texi:2242: warning: `.' or `,' must follow @xref, not f libtool: install: warning: remember to run `libtool --finish /usr/local/libexec/gcc/x86_64-pc-linux-gnu/14.0.1'