testsuite: Fix a typo - UINON_TYPE to UNION_TYPE - in gcc.target/powerpc
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Jan 2021 21:55:44 +0000 (22:55 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 22 Jan 2021 21:55:44 +0000 (22:55 +0100)
Spotted while fixing the rs6000 aliasing issue.

2021-01-22  Jakub Jelinek  <jakub@redhat.com>

* gcc.target/powerpc/m128-check.h (CHECK_EXP, CHECK_FP_EXP): Fix a
typo, UINON_TYPE to UNION_TYPE.

gcc/testsuite/gcc.target/powerpc/m128-check.h

index 3df96524d955f1186dd8300e80094aa5a9cdb3d9..50e4330aab66652c62294168b401ab2ff8cf4f34 100644 (file)
@@ -83,11 +83,11 @@ typedef union
 #define PRINTF(...)    
 #endif
 
-#define CHECK_EXP(UINON_TYPE, VALUE_TYPE, FMT)         \
+#define CHECK_EXP(UNION_TYPE, VALUE_TYPE, FMT)         \
 static int                                             \
 __attribute__((optimize ("no-strict-aliasing")))       \
 __attribute__((noinline, unused))                      \
-check_##UINON_TYPE (UINON_TYPE u, const VALUE_TYPE *v) \
+check_##UNION_TYPE (UNION_TYPE u, const VALUE_TYPE *v) \
 {                                                      \
   int i;                                               \
   int err = 0;                                         \
@@ -198,10 +198,10 @@ union ieee754_double
 };
 #endif
 
-#define CHECK_FP_EXP(UINON_TYPE, VALUE_TYPE, ESP, FMT)         \
+#define CHECK_FP_EXP(UNION_TYPE, VALUE_TYPE, ESP, FMT)         \
 static int                                                     \
 __attribute__((noinline, unused))                              \
-check_fp_##UINON_TYPE (UINON_TYPE u, const VALUE_TYPE *v)      \
+check_fp_##UNION_TYPE (UNION_TYPE u, const VALUE_TYPE *v)      \
 {                                                              \
   int i;                                                       \
   int err = 0;                                                 \