[clang] [clang] Set FPOptions at the beginning of CompoundStmt (PR #111654)

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 11:36:36 PST 2024


================
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -ffast-math -ffp-contract=fast -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -ffast-math -ffp-contract=fast -emit-llvm -O2 -o - %s | FileCheck %s
----------------
zahiraam wrote:

It seems to me that this issue exists only at O2, right? https://godbolt.org/z/xGcWG1aM6
Shouldn't that be reflected in the code somewhere? 

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


More information about the cfe-commits mailing list