diff options
Diffstat (limited to 'newlib/libm/common/math_config.h')
-rw-r--r-- | newlib/libm/common/math_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libm/common/math_config.h b/newlib/libm/common/math_config.h index d5896bbdd..cca682ed7 100644 --- a/newlib/libm/common/math_config.h +++ b/newlib/libm/common/math_config.h @@ -205,6 +205,7 @@ opt_barrier_double (double x) volatile double y = x; return y; } +#pragma GCC diagnostic ignored "-Wunused-variable" static inline void force_eval_float (float x) { @@ -215,6 +216,7 @@ force_eval_double (double x) { volatile double y = x; } +#pragma GCC diagnostic pop #endif /* Evaluate an expression as the specified type, normally a type |