Hi!

And ditto for powerpc.  Written as separate patch because it was dependent
on the no-strict-aliasing patch.
Committed to trunk as obvious.

2021-01-22  Jakub Jelinek  <ja...@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.jj    2021-01-22 
22:38:27.054855450 +0100
+++ gcc/testsuite/gcc.target/powerpc/m128-check.h       2021-01-22 
22:53:47.931795479 +0100
@@ -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;                                                 \

        Jakub

Reply via email to