Author: Serge Pavlov Date: 2020-09-26T20:26:34+07:00 New Revision: f91b9c0f9858bb3d6ff4dd1fb494e83633eefed8
URL: https://github.com/llvm/llvm-project/commit/f91b9c0f9858bb3d6ff4dd1fb494e83633eefed8 DIFF: https://github.com/llvm/llvm-project/commit/f91b9c0f9858bb3d6ff4dd1fb494e83633eefed8.diff LOG: Run test on particular target only The test `AST/const-fpfeatures-diag.c` requires setting strict FP semantics, so it fails on targets where support of such semantic is limited. Added: Modified: clang/test/AST/const-fpfeatures-diag.c Removed: ################################################################################ diff --git a/clang/test/AST/const-fpfeatures-diag.c b/clang/test/AST/const-fpfeatures-diag.c index c957459c05a5..d0408dae3663 100644 --- a/clang/test/AST/const-fpfeatures-diag.c +++ b/clang/test/AST/const-fpfeatures-diag.c @@ -1,5 +1,7 @@ // 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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits