diff options
author | Stan Shebs <stanshebs@google.com> | 2019-04-24 08:01:50 -0700 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2019-04-24 08:01:50 -0700 |
commit | 64b3e177bc10f18818f1bc790296a9c0a30aacc8 (patch) | |
tree | 3f60c6ee44f2e2a3a22b847a1848732ffd872c88 | |
parent | 1ba307084e002720491b3a3589c48ba492c1769b (diff) | |
download | glibc-64b3e177bc10f18818f1bc790296a9c0a30aacc8.tar.gz glibc-64b3e177bc10f18818f1bc790296a9c0a30aacc8.tar.xz glibc-64b3e177bc10f18818f1bc790296a9c0a30aacc8.zip |
Work around a clang problem with asm constraints
-rw-r--r-- | sysdeps/x86/fpu/math-barriers.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) \ |