diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-03 14:42:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 14:42:10 +0000 |
commit | 4414e8a4c21779f4e7a236532f696cf32cb2e1f3 (patch) | |
tree | f84173b7d731a681529ae53cb1ef2d9204b188ff | |
parent | 324dfb828cec09f7638b48b6e25e4007b45b9cbc (diff) | |
parent | f37acd006707d4737db998212fd8ec28cab82c9d (diff) | |
download | gcc-4414e8a4c21779f4e7a236532f696cf32cb2e1f3.zip gcc-4414e8a4c21779f4e7a236532f696cf32cb2e1f3.tar.gz gcc-4414e8a4c21779f4e7a236532f696cf32cb2e1f3.tar.bz2 |
Merge #478
478: mips: Fix incorrect name for target feature flag TARGET_ODD_SPREG r=tschwinge a=glaubitz
Fixes #476
Co-authored-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
-rw-r--r-- | gcc/config/mips/mips-rust.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips-rust.c b/gcc/config/mips/mips-rust.c index 7b9048d..39187de 100644 --- a/gcc/config/mips/mips-rust.c +++ b/gcc/config/mips/mips-rust.c @@ -204,7 +204,7 @@ void mips_rust_target_cpu_info(void) { rust_add_target_info("target_feature", "single-float"); if (TARGET_SOFT_FLOAT_ABI) rust_add_target_info("target_feature", "soft-float"); - if (!(ODD_SPREG)) + if (!TARGET_ODD_SPREG) rust_add_target_info("target_feature", "nooddspreg"); // TODO: find if vfpu (vector FPU instructions) are supported by gcc at all // TODO: ensure below switch variable and whatever works |