diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-01-22 22:51:03 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-01-22 22:51:03 +0100 |
commit | b30e19b517fbacb0f41d581e568a7b2d138dcd90 (patch) | |
tree | 259c48c1dcf9912013bf3eda25d32acb4d3c52a5 /gcc | |
parent | d08677c11dc4b43cc8bab862d1c986563897ce3f (diff) | |
download | gcc-b30e19b517fbacb0f41d581e568a7b2d138dcd90.zip gcc-b30e19b517fbacb0f41d581e568a7b2d138dcd90.tar.gz gcc-b30e19b517fbacb0f41d581e568a7b2d138dcd90.tar.bz2 |
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 <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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/m128-check.h | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/m256-check.h | 4 | ||||
-rw-r--r-- | 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 6f414b0..672ce96 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 6dbc3a0..da03984 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 1a1065d..6befaf0 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; \ |