Commit 19fb220b authored by Evan Nemerson's avatar Evan Nemerson

neon/ld3, neon/ld4: disable -Wmaybe-uninitialized on GCC

This is basically the same false positive as #657.  As of GCC 10 the
diagnostic is no longer emitted in C mode, but it is still emitted in
C++ mode, so I'm removing the version check from the ld3 code, too.

Fixes #676
parent d6120b3b
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
HEDLEY_DIAGNOSTIC_PUSH HEDLEY_DIAGNOSTIC_PUSH
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
#if defined(HEDLEY_GCC_VERSION) && !HEDLEY_GCC_VERSION_CHECK(10,0,0) #if defined(HEDLEY_GCC_VERSION)
SIMDE_DIAGNOSTIC_DISABLE_MAYBE_UNINITIAZILED_ SIMDE_DIAGNOSTIC_DISABLE_MAYBE_UNINITIAZILED_
#endif #endif
SIMDE_BEGIN_DECLS_ SIMDE_BEGIN_DECLS_
......
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
HEDLEY_DIAGNOSTIC_PUSH HEDLEY_DIAGNOSTIC_PUSH
SIMDE_DISABLE_UNWANTED_DIAGNOSTICS SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
#if defined(HEDLEY_GCC_VERSION)
SIMDE_DIAGNOSTIC_DISABLE_MAYBE_UNINITIAZILED_
#endif
SIMDE_BEGIN_DECLS_ SIMDE_BEGIN_DECLS_
#if !defined(SIMDE_BUG_INTEL_857088) #if !defined(SIMDE_BUG_INTEL_857088)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment