aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-08-26 20:59:49 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-08-26 21:02:19 +0100
commit8e9dcd47d3ea97bd4bea892ad4c968acf486676b (patch)
tree55f0c12f2e4760c930968cfc91cca38de6ace7cf /gcc
parent732997e93ff29073ee57ae9dc954e7c74a15c9cc (diff)
downloadgcc-8e9dcd47d3ea97bd4bea892ad4c968acf486676b.zip
gcc-8e9dcd47d3ea97bd4bea892ad4c968acf486676b.tar.gz
gcc-8e9dcd47d3ea97bd4bea892ad4c968acf486676b.tar.bz2
Add missing language selection for rs6000
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000-logue.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000-logue.cc b/gcc/config/rs6000/rs6000-logue.cc
index 59fe1c8..c19b4f5 100644
--- a/gcc/config/rs6000/rs6000-logue.cc
+++ b/gcc/config/rs6000/rs6000-logue.cc
@@ -5330,7 +5330,8 @@ rs6000_output_function_epilogue (FILE *file)
|| ! strcmp (language_string, "GNU GIMPLE")
|| ! strcmp (language_string, "GNU Go")
|| ! strcmp (language_string, "GNU D")
- || ! strcmp (language_string, "libgccjit"))
+ || ! strcmp (language_string, "libgccjit")
+ || ! strcmp (language_string, "GNU Rust"))
i = 0;
else if (! strcmp (language_string, "GNU F77")
|| lang_GNU_Fortran ())