freedreno: Nerf strict-aliasing warning for all of gcc
authorRob Clark <robdclark@chromium.org>
Tue, 7 Mar 2023 21:26:58 +0000 (13:26 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 13 Mar 2023 17:31:21 +0000 (17:31 +0000)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>

src/freedreno/common/freedreno_common.h

index d275bf7..a182352 100644 (file)
@@ -62,7 +62,7 @@ struct BitmaskEnum {
    FOREACH_TYPE(BOP, &)
 #undef BOP
 
-#if defined(__GNUC__) && !defined(__clang) && (__GNUC__ <= 10)
+#if defined(__GNUC__) && !defined(__clang)
 /*
  * Silence:
  *