From 9bea0d7516152252b74c1ba952e3c09a5919eb64 Mon Sep 17 00:00:00 2001 From: Chiro Liang Date: Fri, 18 Mar 2022 11:47:58 +0800 Subject: [PATCH] changed default arch but work...? --- gcc/config/loongarch/loongarch-opts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/loongarch/loongarch-opts.cc b/gcc/config/loongarch/loongarch-opts.cc index d169b129f5341..48f3fbc599893 100644 --- a/gcc/config/loongarch/loongarch-opts.cc +++ b/gcc/config/loongarch/loongarch-opts.cc @@ -246,9 +246,9 @@ loongarch_config_target (struct loongarch_target *target, config_target_isa: /* Get default ISA from "-march" or its default value. */ - // t.isa = loongarch_cpu_default_isa[__ACTUAL_ARCH]; + t.isa = loongarch_cpu_default_isa[__ACTUAL_ARCH]; // Chiro: FATAL: change here to set la32 default - t.isa = loongarch_cpu_default_isa[CPU_LOONGARCH32]; + // t.isa = loongarch_cpu_default_isa[CPU_LOONGARCH32]; /* Apply incremental changes. */ /* "-march=native" overrides the default FPU type. */