[clang] [flang] [Flang] Use simple summation by default at all optimization levels (PR #244546)
Tarun Prabhu via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 30 05:48:13 PST 2026
================
@@ -0,0 +1,14 @@
+! Test driver handling of -fcompensated-sum.
+
+! RUN: %flang -fsyntax-only -### %s -o %t 2>&1 \
+! RUN: | FileCheck %s --check-prefix=OMITTED
+
+! RUN: %flang -fsyntax-only -### %s -o %t 2>&1 \
+! RUN: -fcompensated-sum \
+! RUN: | FileCheck %s --check-prefix=ENABLED
----------------
tarunprabhu wrote:
```suggestion
! RUN: %flang -### -fcompensated-sum %s 2>&1 \
! RUN: | FileCheck %s --check-prefix=ENABLED
```
https://github.com/llvm/llvm-project/pull/244546
More information about the cfe-commits
mailing list