From d149962d6ac3c940fee95707cb6bafdb055e9bea Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 22 Sep 2020 09:24:40 +0200 Subject: [PATCH] Add no strict aliasing to m128-check.h * gcc.target/i386/m128-check.h: Add no-strict-aliasing --- gcc/testsuite/gcc.target/i386/m128-check.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/i386/m128-check.h b/gcc/testsuite/gcc.target/i386/m128-check.h index 48b23328539..6f414b07be7 100644 --- a/gcc/testsuite/gcc.target/i386/m128-check.h +++ b/gcc/testsuite/gcc.target/i386/m128-check.h @@ -78,6 +78,7 @@ typedef union #define CHECK_EXP(UINON_TYPE, VALUE_TYPE, FMT) \ static int \ +__attribute__((optimize ("no-strict-aliasing"))) \ __attribute__((noinline, unused)) \ check_##UINON_TYPE (UINON_TYPE u, const VALUE_TYPE *v) \ { \ -- 2.30.2