Skip to content

Commit

Permalink
Adjust expected warnings for CI
Browse files Browse the repository at this point in the history
ChangeLog:

	* .github/alpine_32bit_log_warnings: Adjust line numbers.
	* .github/log_expected_warnings: Likewise.

Signed-off-by: Owen Avery <[email protected]>
  • Loading branch information
powerboat9 committed Dec 3, 2024
1 parent 9b38a47 commit 950ec4a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/alpine_32bit_log_warnings
Original file line number Diff line number Diff line change
Expand Up @@ -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<Rust::FreeRegion, std::allocator<Rust::FreeRegion> >*)((char*)&saved + offsetof(Rust::BIR::PatternBindingBuilder::SavedState, Rust::BIR::PatternBindingBuilder::SavedState::regions.tl::optional<Rust::FreeRegions>::<unnamed>.tl::detail::optional_move_assign_base<Rust::FreeRegions, false>::<unnamed>.tl::detail::optional_copy_assign_base<Rust::FreeRegions, false>::<unnamed>.tl::detail::optional_move_base<Rust::FreeRegions, false>::<unnamed>.tl::detail::optional_copy_base<Rust::FreeRegions, false>::<unnamed>.tl::detail::optional_operations_base<Rust::FreeRegions>::<unnamed>.tl::detail::optional_storage_base<Rust::FreeRegions, false>::<unnamed>)).std::_Vector_base<Rust::FreeRegion, std::allocator<Rust::FreeRegion> >::_M_impl.std::_Vector_base<Rust::FreeRegion, std::allocator<Rust::FreeRegion> >::_Vector_impl::<anonymous>.std::_Vector_base<Rust::FreeRegion, std::allocator<Rust::FreeRegion> >::_Vector_impl_data::_M_start' may be used uninitialized [-Wmaybe-uninitialized]
Expand Down
26 changes: 13 additions & 13 deletions .github/log_expected_warnings
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down Expand Up @@ -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]
Expand All @@ -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'

0 comments on commit 950ec4a

Please sign in to comment.