diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2022-12-14 17:27:01 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas_schwinge@mentor.com> | 2022-12-14 17:29:17 +0100 |
commit | 0d0de2c6c5861701a78d52e63feaeb7a5b79b5a3 (patch) | |
tree | 79d2d5bf297f19ab9c24804b3a2afac5cab8538b | |
parent | 74e16385964d6c03d99916654389edf39e768147 (diff) | |
parent | 3d6dbb6fc5d1d14bf36a879b6f4a00ae91090a63 (diff) | |
download | gcc-0d0de2c6c5861701a78d52e63feaeb7a5b79b5a3.zip gcc-0d0de2c6c5861701a78d52e63feaeb7a5b79b5a3.tar.gz gcc-0d0de2c6c5861701a78d52e63feaeb7a5b79b5a3.tar.bz2 |
Merge commit '3d6dbb6fc5d1d14bf36a879b6f4a00ae91090a63' into HEAD
-rw-r--r-- | .github/bors_log_expected_warnings | 16 | ||||
-rw-r--r-- | .github/workflows/bootstrap.yml | 3 | ||||
-rw-r--r-- | .github/workflows/ccpp.yml | 3 | ||||
-rw-r--r-- | gcc/rust/Make-lang.in | 3 |
4 files changed, 19 insertions, 6 deletions
diff --git a/.github/bors_log_expected_warnings b/.github/bors_log_expected_warnings index 381e1ce..cf03bca 100644 --- a/.github/bors_log_expected_warnings +++ b/.github/bors_log_expected_warnings @@ -12,6 +12,9 @@ ../../../libffi/src/java_raw_api.c:369:3: warning: ‘ffi_prep_java_raw_closure_loc’ is deprecated [-Wdeprecated-declarations] ../../../libffi/src/x86/ffi64.c:783:1: warning: label ‘out’ defined but not used [-Wunused-label] ../../../libffi/src/x86/ffiw64.c:250:1: warning: label ‘out’ defined but not used [-Wunused-label] +../../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] ../../gcc/analyzer/call-summary.cc:112:20: warning: too many arguments for format [-Wformat-extra-args] ../../gcc/analyzer/call-summary.cc:112:28: warning: unknown conversion type character ‘E’ in format [-Wformat=] ../../gcc/analyzer/call-summary.cc:114:20: warning: too many arguments for format [-Wformat-extra-args] @@ -90,10 +93,23 @@ ../../gcc/config/i386/i386.cc:2568:8: warning: unknown conversion type character ‘}’ in format [-Wformat=] ../../gcc/diagnostic.cc:2206:52: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/fold-const.cc:313:42: warning: format not a string literal and no format arguments [-Wformat-security] +../../gcc/gcc.cc:10502:12: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] +../../gcc/gcc.cc:7735: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:7738: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:7739: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:7741:9: warning: ignoring return value of ‘ssize_t write(int, const void*, size_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-range-gori.cc:318:22: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/ipa-devirt.cc:965:47: warning: format not a string literal and no format arguments [-Wformat-security] +../../gcc/lto-wrapper.cc:1147: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:1365:52: warning: format not a string literal and no format arguments [-Wformat-security] ../../gcc/lto-wrapper.cc:1957:44: warning: format not a string literal and no format arguments [-Wformat-security] +../../gcc/lto/lto-common.cc:2076:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] +../../gcc/lto/lto-common.cc:2078: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:2098:10: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] ../../gcc/omp-low.cc:10633:19: warning: ‘T’ conversion used within a quoted sequence [-Wformat=] ../../gcc/omp-low.cc:1548:23: warning: ‘T’ conversion used within a quoted sequence [-Wformat=] ../../gcc/omp-low.cc:1553:23: warning: ‘T’ conversion used within a quoted sequence [-Wformat=] diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 5882713..8ac4f05 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -4,9 +4,6 @@ on: push: branches: [ master ] -env: - CXXFLAGS: "-Wno-unused-parameter -Werror=overloaded-virtual" - jobs: build: diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 8c9f027..c7d27ce 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -8,9 +8,6 @@ on: pull_request: branches: [ master ] -env: - CXXFLAGS: "-Wno-unused-parameter -Werror=overloaded-virtual" - jobs: build-and-check-ubuntu-64bit: diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 21d7d4e..36f0688 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -24,6 +24,9 @@ # Use strict warnings for this front end. rust-warn = $(STRICT_WARN) +# ..., with the exception of '-Wunused-parameter'; waiting for +# <https://github.com/Rust-GCC/gccrs/issues/1626> "bootstrap build failure". +rust-warn += -Wno-unused-parameter # Installation name. Useful for cross compilers and used during install. GCCRS_INSTALL_NAME := $(shell echo gccrs|sed '$(program_transform_name)') |