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

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

* gcc.target/i386/m128-check.h (CHECK_EXP, CHECK_FP_EXP): Fix a typo,
UINON_TYPE to UNION_TYPE.
* gcc.target/i386/m256-check.h (CHECK_FP_EXP): Likewise.
* gcc.target/i386/m512-check.h (CHECK_ROUGH_EXP): Likewise.

gcc/testsuite/gcc.target/i386/m128-check.h
gcc/testsuite/gcc.target/i386/m256-check.h
gcc/testsuite/gcc.target/i386/m512-check.h

index 6f414b07be7725fb9ebe2668dda053db4e79f2ad..672ce961566f09246259098be0ac1c4e3f2f3e2a 100644 (file)
@@ -76,11 +76,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;                                         \
@@ -193,10 +193,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;                                                 \
index 6dbc3a0d9d76fbd9acd326efa3c5b73c8956fff6..da039841f5b4159e274137b6c1529e5cab251ea6 100644 (file)
@@ -79,10 +79,10 @@ CHECK_EXP (union256i_uw, unsigned short, "%d")
 CHECK_EXP (union256i_ud, unsigned int, "0x%x")
 CHECK_EXP (union256i_uq, unsigned long long, "0x%llx")
 
-#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;                                                 \
index 1a1065d205350579bbd67043cedfa1e9dd592fcb..6befaf0a9ba252ae07b2e8b35d94993b4767aeef 100644 (file)
@@ -77,10 +77,10 @@ CHECK_EXP (union512i_uq, unsigned long long, "0x%llx")
 CHECK_FP_EXP (union512, float, ESP_FLOAT, "%f")
 CHECK_FP_EXP (union512d, double, ESP_DOUBLE, "%f")
 
-#define CHECK_ROUGH_EXP(UINON_TYPE, VALUE_TYPE, FMT)           \
+#define CHECK_ROUGH_EXP(UNION_TYPE, VALUE_TYPE, FMT)           \
 static int                                                     \
 __attribute__((noinline, unused))                              \
-check_rough_##UINON_TYPE (UINON_TYPE u, const VALUE_TYPE *v,   \
+check_rough_##UNION_TYPE (UNION_TYPE u, const VALUE_TYPE *v,   \
                          VALUE_TYPE eps)                       \
 {                                                              \
   int i;                                                       \