diff --git a/flang/include/flang/Evaluate/target.h b/flang/include/flang/Evaluate/target.h --- a/flang/include/flang/Evaluate/target.h +++ b/flang/include/flang/Evaluate/target.h @@ -25,7 +25,7 @@ // (viz., fail to set the Underflow flag when an inexact product of a // multiplication is rounded up to a normal number from a subnormal // in some rounding modes) -#if __x86_64__ || __riscv +#if __x86_64__ || __riscv || __loongarch__ bool x86CompatibleBehavior{true}; #else bool x86CompatibleBehavior{false};