[clang] 8ecf366 - Fix buildbot error.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 23 08:05:07 PDT 2021


Author: Haojian Wu
Date: 2021-09-23T17:04:46+02:00
New Revision: 8ecf3660f2de3b88d10db0fd52d0bc80bda33dcc

URL: https://github.com/llvm/llvm-project/commit/8ecf3660f2de3b88d10db0fd52d0bc80bda33dcc
DIFF: https://github.com/llvm/llvm-project/commit/8ecf3660f2de3b88d10db0fd52d0bc80bda33dcc.diff

LOG: Fix buildbot error.

-frounding-math is not available for all targets.

Added: 
    

Modified: 
    clang/test/SemaCXX/rounding-math-crash.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaCXX/rounding-math-crash.cpp b/clang/test/SemaCXX/rounding-math-crash.cpp
index 32f1fc0f792c..fb45d236b41b 100644
--- a/clang/test/SemaCXX/rounding-math-crash.cpp
+++ b/clang/test/SemaCXX/rounding-math-crash.cpp
@@ -1,3 +1,3 @@
-// RUN: %clang_cc1 -fsyntax-only -frounding-math -verify %s
+// RUN: %clang_cc1 -triple x86_64-linux -fsyntax-only -frounding-math -verify %s
 
 template <class b> b::a() {}  // expected-error {{nested name specifier}}


        


More information about the cfe-commits mailing list