[clang] 4e4f926 - Remove test AST/const-fpfeatures-diag.c
Serge Pavlov via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 29 21:11:38 PDT 2020
Author: Serge Pavlov
Date: 2020-09-30T11:07:55+07:00
New Revision: 4e4f926e83cf77f0d36b821a3d2aa1de78338a82
URL: https://github.com/llvm/llvm-project/commit/4e4f926e83cf77f0d36b821a3d2aa1de78338a82
DIFF: https://github.com/llvm/llvm-project/commit/4e4f926e83cf77f0d36b821a3d2aa1de78338a82.diff
LOG: Remove test AST/const-fpfeatures-diag.c
This test is going to be removed because using dynamic rounding mode
in initializers is changing. It also causes build failures in some
cases, so remove it now.
Added:
Modified:
Removed:
clang/test/AST/const-fpfeatures-diag.c
################################################################################
diff --git a/clang/test/AST/const-fpfeatures-diag.c b/clang/test/AST/const-fpfeatures-diag.c
deleted file mode 100644
index d0408dae3663..000000000000
--- a/clang/test/AST/const-fpfeatures-diag.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: %clang_cc1 -verify -ffp-exception-behavior=strict -Wno-unknown-pragmas %s
-
-// REQUIRES: x86-registered-target
-
-#pragma STDC FENV_ROUND FE_DYNAMIC
-
-// nextUp(1.F) == 0x1.000002p0F
-
-float F1 = 0x1.000000p0F + 0x0.000002p0F;
-float F2 = 0x1.000000p0F + 0x0.000001p0F; // expected-error{{initializer element is not a compile-time constant}}
More information about the cfe-commits
mailing list