diff --git a/sysdeps/powerpc/fpu/math_private.h b/sysdeps/powerpc/fpu/math_private.h index 4d1e571f84..92ed872af0 100644 --- a/sysdeps/powerpc/fpu/math_private.h +++ b/sysdeps/powerpc/fpu/math_private.h @@ -24,11 +24,13 @@ #include #include +#if !defined __clang__ /* clang being confused by these constraints */ /* Avoid putting floating point values in memory. */ # define math_opt_barrier(x) \ ({ __typeof (x) __x = (x); __asm ("" : "+dwa" (__x)); __x; }) # define math_force_eval(x) \ ({ __typeof (x) __x = (x); __asm __volatile__ ("" : : "dwa" (__x)); }) +#endif /* clang */ #include_next