From b30e19b517fbacb0f41d581e568a7b2d138dcd90 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 22 Jan 2021 22:51:03 +0100 Subject: [PATCH] testsuite: Fix a typo - UINON_TYPE to UNION_TYPE - in gcc.target/i386 Spotted while fixing the rs6000 aliasing issue. 2021-01-22 Jakub Jelinek * 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 | 8 ++++---- gcc/testsuite/gcc.target/i386/m256-check.h | 4 ++-- gcc/testsuite/gcc.target/i386/m512-check.h | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/m128-check.h b/gcc/testsuite/gcc.target/i386/m128-check.h index 6f414b07be7..672ce961566 100644 --- a/gcc/testsuite/gcc.target/i386/m128-check.h +++ b/gcc/testsuite/gcc.target/i386/m128-check.h @@ -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; \ diff --git a/gcc/testsuite/gcc.target/i386/m256-check.h b/gcc/testsuite/gcc.target/i386/m256-check.h index 6dbc3a0d9d7..da039841f5b 100644 --- a/gcc/testsuite/gcc.target/i386/m256-check.h +++ b/gcc/testsuite/gcc.target/i386/m256-check.h @@ -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; \ diff --git a/gcc/testsuite/gcc.target/i386/m512-check.h b/gcc/testsuite/gcc.target/i386/m512-check.h index 1a1065d2053..6befaf0a9ba 100644 --- a/gcc/testsuite/gcc.target/i386/m512-check.h +++ b/gcc/testsuite/gcc.target/i386/m512-check.h @@ -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; \ -- 2.30.2