aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-12-14 11:51:46 +0000
committerGitHub <noreply@github.com>2022-12-14 11:51:46 +0000
commit3d6dbb6fc5d1d14bf36a879b6f4a00ae91090a63 (patch)
tree021be863cc8b6bae85c96780d094ae0de76795cc /gcc
parent62d1620c91053438399064fa4eddb15d09cbabf4 (diff)
parent2384a034568971d533aea91bca6a11d7f5d19ff9 (diff)
downloadgcc-3d6dbb6fc5d1d14bf36a879b6f4a00ae91090a63.zip
gcc-3d6dbb6fc5d1d14bf36a879b6f4a00ae91090a63.tar.gz
gcc-3d6dbb6fc5d1d14bf36a879b6f4a00ae91090a63.tar.bz2
Merge #1701
1701: Standardize warning flags r=tschwinge a=tschwinge Bring in #1670, revert #1623 and parts of #1585. Co-authored-by: Thomas Schwinge <thomas@codesourcery.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/Make-lang.in3
1 files changed, 3 insertions, 0 deletions
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)')