From 64b3e177bc10f18818f1bc790296a9c0a30aacc8 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 24 Apr 2019 08:01:50 -0700 Subject: Work around a clang problem with asm constraints --- sysdeps/x86/fpu/math-barriers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/x86/fpu/math-barriers.h b/sysdeps/x86/fpu/math-barriers.h index 5bed60ddec..542411aae3 100644 --- a/sysdeps/x86/fpu/math-barriers.h +++ b/sysdeps/x86/fpu/math-barriers.h @@ -19,7 +19,7 @@ #ifndef X86_MATH_BARRIERS_H #define X86_MATH_BARRIERS_H 1 -#ifdef __SSE2_MATH__ +#if defined(__SSE2_MATH__) && !defined(__clang__) # define math_opt_barrier(x) \ ({ __typeof(x) __x; \ if (sizeof (x) <= sizeof (double) \ -- cgit 1.4.1