[clang] [flang] [Flang] Use simple summation by default at all optimization levels (PR #244546)

Tatsuhito Abe via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 1 17:50:57 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
----------------
tatsuhito-fj wrote:

Done. I removed `-fsyntax-only` and `-o %t`.

https://github.com/llvm/llvm-project/pull/244546


More information about the cfe-commits mailing list