qemu/tests/fp
Philippe Mathieu-Daudé 004900acbc tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives
Since we already use -Wno-unknown-pragmas, we can also use
-Wno-ignored-pragmas. This silences hundred of warnings using
clang 13 on macOS Monterey:

  [409/771] Compiling C object tests/fp/libtestfloat.a.p/berkeley-testfloat-3_source_test_az_f128_rx.c.o
  ../tests/fp/berkeley-testfloat-3/source/test_az_f128_rx.c:49:14: warning: '#pragma FENV_ACCESS' is not supported on this target - ignored [-Wignored-pragmas]
  #pragma STDC FENV_ACCESS ON
               ^
  1 warning generated.

Having:

  $ cc -v
  Apple clang version 13.0.0 (clang-1300.0.29.30)

Reported-by: Roman Bolshakov <roman@roolebo.dev>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2022-03-15 13:36:33 +01:00
..
berkeley-softfloat-3@b64af41c32 gitmodules: add berkeley's softfloat + testfloat version 3 2018-10-05 12:57:41 -05:00
berkeley-testfloat-3@5a59dcec19 berkeley-testfloat-3: pull changes 2019-01-22 20:47:57 +00:00
fp-bench.c softfloat: Move muladd_floats to softfloat-parts.c.inc 2021-05-16 07:13:51 -05:00
fp-test-log2.c softfloat: Move floatN_log2 to softfloat-parts.c.inc 2021-06-03 14:09:02 -07:00
fp-test.c tests/fp/fp-test: Reverse order of floatx80 precision tests 2021-06-03 14:09:02 -07:00
meson.build tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives 2022-03-15 13:36:33 +01:00
platform.h tests/fp/platform.h: include config-host.h 2019-01-22 20:48:15 +00:00
wrap.c.inc tests/fp: Enable more tests 2021-06-03 14:09:03 -07:00