[committed] testsuite: Fix a typo - UINON_TYPE to UNION_TYPE - in gcc.target/i386

Jakub Jelinek jakub@redhat.com
Fri Jan 22 21:58:11 GMT 2021


Hi!

Spotted while fixing the rs6000 aliasing issue.
Regtested on x86_64-linux and i686-linux, committed to trunk as obvious.

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.jj	2020-09-22 09:49:22.486138295 +0200
+++ gcc/testsuite/gcc.target/i386/m128-check.h	2021-01-22 20:03:19.266708771 +0100
@@ -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;							\
--- gcc/testsuite/gcc.target/i386/m256-check.h.jj	2020-01-12 11:54:37.951390205 +0100
+++ gcc/testsuite/gcc.target/i386/m256-check.h	2021-01-22 20:03:35.171531076 +0100
@@ -79,10 +79,10 @@ CHECK_EXP (union256i_uw, unsigned short,
 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;							\
--- gcc/testsuite/gcc.target/i386/m512-check.h.jj	2020-01-12 11:54:37.951390205 +0100
+++ gcc/testsuite/gcc.target/i386/m512-check.h	2021-01-22 20:03:48.693380004 +0100
@@ -77,10 +77,10 @@ CHECK_EXP (union512i_uq, unsigned long l
 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;							\

	Jakub



More information about the Gcc-patches mailing list