From 4e4f926e83cf77f0d36b821a3d2aa1de78338a82 Mon Sep 17 00:00:00 2001 From: Serge Pavlov Date: Wed, 30 Sep 2020 11:07:55 +0700 Subject: [PATCH] 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. --- clang/test/AST/const-fpfeatures-diag.c | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 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 d0408da..0000000 --- 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}} -- 2.7.4