diff --git a/gcc/common/config/riscv/riscv-common.c b/gcc/common/config/riscv/riscv-common.c index f3c120b4cb4..b8dd0aeac3e 100644 --- a/gcc/common/config/riscv/riscv-common.c +++ b/gcc/common/config/riscv/riscv-common.c @@ -422,7 +422,7 @@ riscv_subset_list::to_string (bool version_p) const /* Skip since older binutils doesn't recognize zicsr. */ skip_zicsr = true; #endif -#ifndef HAVE_AS_MARCH_ZIFENCE +#ifndef HAVE_AS_MARCH_ZIFENCEI /* Skip since older binutils doesn't recognize zifencei, we made a mistake in that binutils 2.35 supports zicsr but not zifencei. */ skip_zifencei = true;