aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNo Author <no-author@gcc.gnu.org>2004-07-01 18:49:52 +0000
committerNo Author <no-author@gcc.gnu.org>2004-07-01 18:49:52 +0000
commitee38c945c279685571303419df9f7421efbf62df (patch)
tree1ec03993a5349fe0414db5e4510a8cbe89435100
parente877183a5f1942aa909d0a96fb70a9b64b402b48 (diff)
This commit was manufactured by cvs2svn to create tagreleases/gcc-3.4.1
'gcc_3_4_1_release'. From-SVN: r83996
-rw-r--r--gcc/testsuite/ada/acats/support/impbit.adb6
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-10.C20
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-3.C129
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-4.C12
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-5.C16
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-6.C28
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-7.C36
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-8.C21
-rw-r--r--gcc/testsuite/g++.dg/ext/altivec-9.C14
-rw-r--r--gcc/testsuite/g++.dg/lookup/forscope2.C9
-rw-r--r--gcc/testsuite/g++.dg/opt/range-test-1.C212
-rw-r--r--gcc/testsuite/gcc.dg/20040219-1.c74
-rw-r--r--gcc/testsuite/gcc.dg/altivec-12.c96
-rw-r--r--gcc/testsuite/gcc.dg/altivec-13.c21
-rw-r--r--gcc/testsuite/gcc.dg/altivec-14.c24
-rw-r--r--gcc/testsuite/gcc.dg/altivec-15.c30
-rw-r--r--gcc/testsuite/gcc.dg/altivec-16.c20
-rw-r--r--gcc/testsuite/gcc.dg/altivec-6.c66
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-by-value-1_main.c13
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-by-value-1_x.c180
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-by-value-1_y.c92
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-check.h34
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-defs.h15
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-init.h34
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-return-1_main.c13
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-return-1_x.c124
-rw-r--r--gcc/testsuite/gcc.dg/compat/union-return-1_y.c71
-rw-r--r--gcc/testsuite/gcc.dg/ftrapv-1.c25
-rw-r--r--gcc/testsuite/gcc.dg/range-test-1.c168
29 files changed, 0 insertions, 1603 deletions
diff --git a/gcc/testsuite/ada/acats/support/impbit.adb b/gcc/testsuite/ada/acats/support/impbit.adb
deleted file mode 100644
index 5e189b06257..00000000000
--- a/gcc/testsuite/ada/acats/support/impbit.adb
+++ /dev/null
@@ -1,6 +0,0 @@
-with System;
-with Ada.Text_IO;
-procedure Impbit is
-begin
- Ada.Text_IO.Put_Line (System.Address'Size'Img);
-end Impbit;
diff --git a/gcc/testsuite/g++.dg/ext/altivec-10.C b/gcc/testsuite/g++.dg/ext/altivec-10.C
deleted file mode 100644
index 3b790f5ebfe..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-10.C
+++ /dev/null
@@ -1,20 +0,0 @@
-/* This is a compile-only test for interaction of "-maltivec" and "-save-temps". */
-/* Author: Ziemowit Laski <zlaski@apple.com>. */
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-save-temps -maltivec" } */
-
-#include <altivec.h>
-
-#define vector_float vector float
-#define vector_float_foo vector float foo
-#define vector_float_bar_eq vector float bar =
-
-/* NB: Keep the following split across three lines. */
-vector
-int
-a1 = { 100, 200, 300, 400 };
-
-vector_float f1 = { 1.0, 2.0, 3.0, 4.0 };
-vector_float_foo = { 3.0, 4.0, 5.0, 6.0 };
-vector_float_bar_eq { 8.0, 7.0, 6.0, 5.0 };
diff --git a/gcc/testsuite/g++.dg/ext/altivec-3.C b/gcc/testsuite/g++.dg/ext/altivec-3.C
deleted file mode 100644
index a5e7308bb05..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-3.C
+++ /dev/null
@@ -1,129 +0,0 @@
-/* { dg-do run { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-/* Test for correct handling of AltiVec constants passed
- through '...' (va_arg). */
-
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <altivec.h>
-#include "altivec_check.h"
-
-#define CHECK_INVARIANT(expr) \
- if (!(expr)) { \
- printf ("ASSERT FAILED: %d: %s\n", __LINE__, #expr); \
- abort (); \
- }
-
-struct foo { int x; int y; };
-struct vfoo { int x; __vector signed int v; int y; };
-union u { __vector signed int v; signed int i[4]; };
-
-struct foo x_g = { 3, 4};
-struct vfoo vx_g = { 10, (vector signed int) {11, 12, 13, 14}, 15 };
-__vector signed int v_g = (vector signed int) {22, 23, 24, 25};
-struct vfoo vx2_g = { 30, (vector signed int) {31, 32, 33, 34}, 35 };
-__vector signed int v2_g = (vector signed int) {40, 41, 42, 43};
-int i_1 = 99, i_2 = 33;
-double d_2 = 1.5, d_3 = 1.75;
-double ld_1 = 1.25;
-
-void bar (int i, ... )
-{
- struct foo xi;
- double d;
- double ld;
- float f;
- char c;
- short s;
- va_list ap;
- va_start(ap, i);
- xi = va_arg(ap, struct foo);
- s = (short)va_arg(ap, int);
- f = (float)va_arg(ap, double);
- ld = va_arg(ap, double);
- c = (char)va_arg(ap, int);
- d = va_arg(ap, double);
- va_end(ap);
-
- CHECK_INVARIANT (xi.x == x_g.x && xi.y == x_g.y);
- CHECK_INVARIANT (s == (short)i_2);
- CHECK_INVARIANT (f == (float)d_2);
- CHECK_INVARIANT (ld == ld_1);
- CHECK_INVARIANT (c == (char)i_1);
- CHECK_INVARIANT (d == d_3);
-}
-
-void baz (int i, ... )
-{
- struct vfoo vx, vx2;
- __vector signed int v_i, v2_i;
- int j, k, l;
- va_list ap;
- va_start(ap, i);
- v_i = va_arg(ap, __vector signed int);
- j = va_arg(ap, int);
- vx = va_arg(ap, struct vfoo);
- k = va_arg(ap, int);
- v2_i = va_arg(ap, __vector signed int);
- l = va_arg(ap, int);
- vx2 = va_arg(ap, struct vfoo);
- va_end(ap);
-
- CHECK_INVARIANT (vec_all_eq (v_i, v_g));
- CHECK_INVARIANT (j == i_1);
- CHECK_INVARIANT (vx.x == vx_g.x && vec_all_eq(vx.v, vx_g.v) && vx.y == vx_g.y);
- CHECK_INVARIANT (k == i_1);
- CHECK_INVARIANT (vec_all_eq (v2_i, v2_g));
- CHECK_INVARIANT (l == i_1);
- CHECK_INVARIANT (vx2.x == vx2_g.x && vec_all_eq(vx2.v, vx2_g.v) && vx2.y == vx2_g.y);
-}
-
-void quux (int i, ... )
-{
- __vector signed int v_i, v2_i;
- union u vi, v2i;
- va_list ap;
- va_start(ap, i);
- v_i = va_arg(ap, __vector signed int);
- v2_i = va_arg(ap, __vector signed int);
- va_end(ap);
- vi.v = v_i;
- v2i.v = v2_i;
-
- CHECK_INVARIANT (vec_all_eq (v_i, v_g));
- CHECK_INVARIANT (vec_all_eq (v2_i, v_g));
- CHECK_INVARIANT (vec_all_eq (vi.v, v_g));
- CHECK_INVARIANT (vec_all_eq (v2i.v, v_g));
-}
-
-void baz2 (int i, ... )
-{
- struct vfoo vx;
- union u vxi;
- va_list ap;
- va_start(ap, i);
- vx = va_arg(ap, struct vfoo);
- va_end(ap);
- vxi.v = vx.v;
-
- CHECK_INVARIANT (vx.x == vx_g.x && vec_all_eq(vx.v, vx_g.v) && vx.y == vx_g.y);
- CHECK_INVARIANT (vec_all_eq (vxi.v, vx_g.v));
-}
-
-int main(void)
-{
- CHECK_INVARIANT (sizeof(struct foo) == 8 && sizeof(struct vfoo) == 48);
-
- altivec_check();
-
- bar(i_1, x_g, (short)i_2, (float)d_2, ld_1, (char)i_1, d_3);
- baz(i_1, v_g, i_1, vx_g, i_1, v2_g, i_1, vx2_g);
- quux(i_1, v_g, v_g);
- baz2(i_1, vx_g);
-
- return 0;
-}
diff --git a/gcc/testsuite/g++.dg/ext/altivec-4.C b/gcc/testsuite/g++.dg/ext/altivec-4.C
deleted file mode 100644
index 8f22fb3b98d..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-4.C
+++ /dev/null
@@ -1,12 +0,0 @@
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-/* PR c++/14425 */
-
-#include <altivec.h>
-
-vector unsigned int splat0(vector unsigned int x)
-{
- return vec_splat(x, 0);
-}
diff --git a/gcc/testsuite/g++.dg/ext/altivec-5.C b/gcc/testsuite/g++.dg/ext/altivec-5.C
deleted file mode 100644
index c5a67c5835b..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-5.C
+++ /dev/null
@@ -1,16 +0,0 @@
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-/* PR c++/14426 */
-
-#include <altivec.h>
-
-vector unsigned int splat0u()
-{
- return vec_splat_u32(0);
-}
-vector int splat0s()
-{
- return vec_splat_s32(0);
-}
diff --git a/gcc/testsuite/g++.dg/ext/altivec-6.C b/gcc/testsuite/g++.dg/ext/altivec-6.C
deleted file mode 100644
index 24ed52a0f33..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-6.C
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Test for correct handling of literal arguments. */
-/* Author: Ziemowit Laski <zlaski@apple.com> */
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-#include <altivec.h>
-
-void foo(void) {
- const unsigned char *buf;
- vector pixel vp = { 3, 4, 5, 6 };
- vector bool int vbi = { 1, 0, 1, 0 };
- vector bool short vbs = { 1, 0, 1, 0, 1, 0, 1, 0 };
- vector bool char vbc = { 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 };
- vector signed char vsc;
- int a = 3;
-
- vec_dst(buf, a, 1);
- vec_dstst(buf, a, 2);
- vec_dststt(buf, a, 3);
- vec_dststt(buf, a, 2);
-
- vp = vec_sld(vp, vp, 5);
- vbc = vec_splat(vbc, 7);
- vbs = vec_splat(vbs, 12);
- vp = vec_splat(vp, 17);
- vbi = vec_splat(vbi, 31);
-}
diff --git a/gcc/testsuite/g++.dg/ext/altivec-7.C b/gcc/testsuite/g++.dg/ext/altivec-7.C
deleted file mode 100644
index fabe1c41333..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-7.C
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Test for AltiVec type overloading and name mangling. */
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-#include <altivec.h>
-
-void foo(vector unsigned char) { }
-void foo(vector signed char) { }
-void foo(vector bool char) { }
-void foo(vector unsigned short) { }
-void foo(vector signed short) { }
-void foo(vector bool short) { }
-void foo(vector unsigned int) { }
-void foo(vector signed int) { }
-void foo(vector bool int) { }
-void foo(vector float) { }
-void foo(vector pixel) { }
-void foo(int) { }
-void foo(unsigned int) { }
-void foo(float) { }
-
-/* { dg-final { scan-assembler "_Z3fooU8__vectorh" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectora" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectorU6__boolc" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectort" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectors" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectorU6__bools" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectorj" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectori" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectorU6__booli" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectorf" } } */
-/* { dg-final { scan-assembler "_Z3fooU8__vectoru7__pixel" } } */
-/* { dg-final { scan-assembler "_Z3fooi" } } */
-/* { dg-final { scan-assembler "_Z3fooj" } } */
-/* { dg-final { scan-assembler "_Z3foof" } } */
diff --git a/gcc/testsuite/g++.dg/ext/altivec-8.C b/gcc/testsuite/g++.dg/ext/altivec-8.C
deleted file mode 100644
index 50fb0d8ad29..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-8.C
+++ /dev/null
@@ -1,21 +0,0 @@
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-/* Author: Ziemowit Laski <zlaski@apple.com> */
-
-/* This test case exercises intrinsic/argument combinations that,
- while not in the Motorola AltiVec PIM, have nevertheless crept
- into the AltiVec vernacular over the years. */
-
-#include <altivec.h>
-
-void foo (void)
-{
- vector bool int boolVec1 = (vector bool int) vec_splat_u32(3);
- vector bool short boolVec2 = (vector bool short) vec_splat_u16(3);
- vector bool char boolVec3 = (vector bool char) vec_splat_u8(3);
-
- boolVec1 = vec_sld( boolVec1, boolVec1, 4 );
- boolVec2 = vec_sld( boolVec2, boolVec2, 2 );
- boolVec3 = vec_sld( boolVec3, boolVec3, 1 );
-}
diff --git a/gcc/testsuite/g++.dg/ext/altivec-9.C b/gcc/testsuite/g++.dg/ext/altivec-9.C
deleted file mode 100644
index e8dea9e74aa..00000000000
--- a/gcc/testsuite/g++.dg/ext/altivec-9.C
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Test for AltiVec function vec_ld, passing a pointer to const vector */
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-#include <altivec.h>
-
-typedef vector unsigned char vuc_t;
-const vuc_t* p;
-vector unsigned char test_vec_ld()
-{
- return vec_ld(0,p);
-}
-
diff --git a/gcc/testsuite/g++.dg/lookup/forscope2.C b/gcc/testsuite/g++.dg/lookup/forscope2.C
deleted file mode 100644
index 1fed957a041..00000000000
--- a/gcc/testsuite/g++.dg/lookup/forscope2.C
+++ /dev/null
@@ -1,9 +0,0 @@
-// { dg-do compile }
-
-struct S {
- void foo() {
- for (_ptr; ;) {} // { dg-error "not declared" }
- _ptr = 0;
- }
-};
-
diff --git a/gcc/testsuite/g++.dg/opt/range-test-1.C b/gcc/testsuite/g++.dg/opt/range-test-1.C
deleted file mode 100644
index 9391748837e..00000000000
--- a/gcc/testsuite/g++.dg/opt/range-test-1.C
+++ /dev/null
@@ -1,212 +0,0 @@
-// Test fold-const.c (fold_range_test) optimizations.
-// { dg-do run } */
-// { dg-options "-O2" } */
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <limits.h>
-
-#if (INT_MAX == 2147483647) && (INT_MIN == -2147483648) \
- && (SCHAR_MIN == -128) && (SCHAR_MAX == 127) \
- && (UCHAR_MIN == 0) && (UCHAR_MAX == 255)
-
-#ifndef T
-
-enum integers
-{
- int_smallest = INT_MIN,
- int_2ndsmallest = INT_MIN + 1,
- int_3rdsmallest = INT_MIN + 2,
- int_minus2 = -2,
- int_minus1 = -1,
- int_zero = 0,
- int_one = 1,
- int_two = 2,
- int_3rdlargest = INT_MAX - 2,
- int_2ndlargest = INT_MAX - 1,
- int_largest = INT_MAX
-};
-
-enum smallenum
-{
- smalle_minus4 = -4,
- smalle_minus3 = -3,
- smalle_minus2 = -2,
- smalle_minus1 = -1,
- smalle_zero = 0,
- smalle_one = 1,
- smalle_two = 2,
- smalle_three = 3
-};
-
-enum enum2
-{
- enum2_two = 2,
- enum2_three = 3,
- enum2_four = 4,
- enum2_five = 5
-};
-
-enum enum3
-{
- enum3_zero,
- enum3_one,
- enum3_two,
- enum3_three,
- enum3_four,
- enum3_five,
- enum3_six,
- enum3_seven
-};
-
-int var;
-void
-check ()
-{
- ++var;
-}
-
-#define T(IDX, TYPE, TEST, YESARR, NOARR) \
-void __attribute__((noinline)) \
-test##IDX (TYPE x) \
-{ \
- if (TEST) \
- check (); \
-}
-#include "range-test-1.C"
-#undef T
-
-int
-main ()
-{
- int i, fails = 0;
-
-#define C ,
-#define T(IDX, TYPE, TEST, YESARR, NOARR) \
- { \
- static TYPE yesarr##IDX [] = YESARR; \
- static TYPE noarr##IDX [] = NOARR; \
- for (i = 0; i < (int) (sizeof (yesarr##IDX) / sizeof (TYPE)); ++i) \
- { \
- var = 0; \
- test##IDX (yesarr##IDX [i]); \
- if (var != 1) \
- printf ("test" #IDX " failed for yesarr [%u]\n", i), ++fails; \
- } \
- var = 0; \
- for (i = 0; i < (int) (sizeof (noarr##IDX) / sizeof (TYPE)); ++i) \
- { \
- test##IDX (noarr##IDX [i]); \
- if (var != 0) \
- printf ("test" #IDX " failed for noarr [%u]\n", i), ++fails; \
- } \
- }
-#include "range-test-1.C"
-#undef T
-
- if (fails)
- abort ();
-
- exit (0);
-}
-
-#else
-
-/* Use `C' instead of `,' below to separate array entries. */
-
-/* These ought to be all optimized into single comparison. */
-T(1, unsigned int, x == 0 || x == 1,
- { 0 C 1 }, { -1U C 2 C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(2, unsigned int, x == 0 || x == -1U || x == -2U,
- { 0 C -1U C -2U }, { -3U C -6U C 1 C 2 C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(3, unsigned int, x == 0 || x == 1 || x == 2,
- { 0 C 1 C 2 }, { -3U C -6U C -1U C -2U C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(4, unsigned int, x == 3 || x == 4 || x == 5 || x == 6,
- { 3 C 4 C 5 C 6 }, { -3U C 0 C 1 C 2 C 7 C 8 C 12 C 0x7fffffff C 0x80000000 })
-T(5, unsigned int, x == -3U || x == -4U || x == -5U || x == -6U,
- { -3U C -4U C -5U C -6U }, { -7U C -8U C -2U C -1U C 1 C 2 C 0x7fffffff C 0x80000000 })
-T(6, unsigned int, x == -3U || x == -4U || x == -5U,
- { -3U C -4U C -5U }, { -6U C -7U C -8U C -2U C -1U C 1 C 2 C 0x7fffffff C 0x80000000 })
-T(7, char *, x == (char *) -3UL || x == (char *) -4UL || x == (char *) -5UL,
- { (char *) -3UL C (char *) -4UL C (char *) -5UL },
- { (char *) -6UL C (char *) -20UL C (char *) -2UL C (char *) -1UL C (char *) 0
- C (char *) 1UL C (char *) 35UL C (char *) 0x7fffffffUL C (char *) 0x80000000UL })
-T(8, unsigned long, x == -2UL || x == -1UL || x == 0,
- { 0 C -1UL C -2UL }, { -3UL C -6UL C 1 C 2 C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(9, unsigned long, x >= -4UL || x <= 8,
- { -4UL C -3UL C -2UL C -1UL C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 },
- { -7UL C -5UL C 9 C 10 C 61 C 127 C 0x7fffffff C 0x80000000 })
-T(10, signed char, x == 0 || x == -1 || x == -2 || x == -3,
- { 0 C -1 C -2 C -3 }, { -4 C -5 C 1 C 2 C 3 C 35 C -24 })
-T(11, int, x == 0 || x == 1,
- { 0 C 1 }, { -1 C 2 C 12 C 35 C INT_MAX C INT_MIN })
-T(12, int, x == 0 || x == -1 || x == -2,
- { 0 C -1 C -2 }, { -3 C -6 C 1 C 2 C 12 C 35 C INT_MAX C INT_MIN })
-T(13, int, x == 0 || x == 1 || x == 2,
- { 0 C 1 C 2 }, { -3 C -6 C -1 C -2 C 12 C 35 C INT_MAX C INT_MIN })
-T(14, int, x == 3 || x == 4 || x == 5 || x == 6,
- { 3 C 4 C 5 C 6 }, { -3 C 0 C 1 C 2 C 7 C 8 C 12 C INT_MAX C INT_MIN })
-T(15, int, x == -3 || x == -4 || x == -5 || x == -6,
- { -3 C -4 C -5 C -6 }, { -7 C -8 C -2 C -1 C 1 C 2 C INT_MAX C INT_MIN })
-T(16, int, x == -3 || x == -4 || x == -5,
- { -3 C -4 C -5 }, { -6 C -7 C -8 C -2 C -1 C 1 C 2 C INT_MAX C INT_MIN })
-T(17, unsigned int, (x >= -8U && x <= -3U) || x == -2U || x == -1U || x == 0 || x == 1 || x == 2,
- { -8U C -7U C -6U C -5U C -4U C -3U C -2U C -1U C 0 C 1 C 2 },
- { -9U C -10U C 3 C 4 C 12 C -54U C INT_MAX C INT_MIN })
-T(18, int, (x >= -8 && x <= -3) || x == -2 || x == -1 || x == 0 || x == 1 || x == 2,
- { -8 C -7 C -6 C -5 C -4 C -3 C -2 C -1 C 0 C 1 C 2 },
- { -9 C -10 C 3 C 4 C 12 C -54 C INT_MAX C INT_MIN })
-T(19, unsigned long, x <= 16 || (x >= 18 && x <= -1UL),
- { -3UL C -6UL C -1UL C 0 C 1 C 2 C 12 C 15 C 16 C 18 C 19 C 35 C 0x7fffffff
- C 0x80000000 }, { 17 })
-T(20, char *, x == (char *) -1UL || x == 0,
- { (char *) -1UL C 0 }, { (char *) -6UL C (char *) -20UL C (char *) -2UL
- C (char *) 1UL C (char *) 35UL C (char *) 0x7fffffffUL C (char *) 0x80000000UL })
-T(21, integers, x == int_zero || x == int_one,
- { int_zero C int_one }, { int_minus1 C int_two C int_largest C int_smallest })
-T(22, int, x == INT_MIN || x == INT_MAX,
- { INT_MIN C INT_MAX },
- { -1 C 0 C 1 C INT_MAX - 1 C INT_MAX - 2 C INT_MIN + 1 C INT_MIN + 2 })
-T(23, int, x == INT_MIN + 1 || x == INT_MIN + 2 || x == INT_MIN || x == INT_MAX,
- { INT_MIN + 1 C INT_MIN + 2 C INT_MIN C INT_MAX },
- { -1 C 0 C 1 C INT_MAX - 1 C INT_MAX - 2 C INT_MIN + 3 C INT_MIN + 4 })
-T(24, signed char, x == SCHAR_MIN || x == SCHAR_MAX,
- { SCHAR_MIN C SCHAR_MAX },
- { -1 C 0 C 1 C SCHAR_MAX - 1 C SCHAR_MAX - 2 C SCHAR_MIN + 1 C SCHAR_MIN + 2 })
-T(25, integers, x == int_smallest || x == int_largest,
- { int_smallest C int_largest }, { int_minus1 C int_zero C int_one
- C int_2ndsmallest C int_2ndlargest C int_3rdsmallest C int_3rdlargest })
-
-/* These should be optimized into unconditional jumps. */
-T(o1, unsigned long, x <= 16 || (x >= 17 && x <= -1UL),
- { -3UL C -6UL C -1UL C 0 C 1 C 2 C 12 C 15 C 16 C 17 C 18 C 19 C 35 C 0x7fffffff
- C 0x80000000 }, { })
-T(o2, unsigned long, x <= -3UL || (x == -2UL || x == -1UL),
- { -3UL C -6UL C -1UL C 0 C 1 C 2 C 12 C 15 C 16 C 17 C 18 C 19 C 35 C 0x7fffffff
- C 0x80000000 }, { })
-
-/* These should be eventually optimized into a single comparison. */
-T(td1, unsigned char, x == 0 || x == 4 || x == 1 || x == 5 || x == 2 || x == 6 || x == 3,
- { 0 C 1 C 2 C 3 C 4 C 5 C 6 }, { 7 C 8 C 127 C 128 C 254 C 255 })
-
-/* These should not be optimized into a single comparison. */
-T(n1, smallenum, x == smalle_minus4 || x == smalle_three,
- { smalle_minus4 C smalle_three }, { smalle_minus3 C smalle_minus2 C smalle_minus1
- C smalle_zero C smalle_one C smalle_two })
-T(n2, enum2, x == enum2_two || x == enum2_five,
- { enum2_two C enum2_five }, { enum2_three C enum2_four })
-T(n3, enum3, x == enum3_zero || x == enum3_seven,
- { enum3_zero C enum3_seven }, { enum3_one C enum3_two C enum3_three C enum3_four
- C enum3_five C enum3_six })
-
-#endif
-
-#else
-
-int
-main (void)
-{
- return 0;
-}
-
-#endif
diff --git a/gcc/testsuite/gcc.dg/20040219-1.c b/gcc/testsuite/gcc.dg/20040219-1.c
deleted file mode 100644
index 1a277d6960b..00000000000
--- a/gcc/testsuite/gcc.dg/20040219-1.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/* Testing save/restore of floating point caller-save registers, on ia64
- this resulted in bad code. Not all targets will use caller-save regs. */
-
-/* { dg-do run } */
-/* { dg-options "-O2" } */
-/* { dg-options "-O2 -minline-float-divide-max-throughput" { target ia64-*-* } } */
-
-/* Testing save/restore of floating point caller-save registers on ia64. */
-
-extern void abort (void);
-
-double foo(double a, double b, double c)
-{
- return (a+b+c);
-}
-
-main ()
-{
- double f1, f2, f3, f4, f5, f6, f7, f8, f9,f10;
- double f11,f12,f13,f14,f15,f16,f17,f18,f19,f20;
- double f21,f22,f23,f24,f25,f26,f27,f28,f29,f30;
- double x;
- int i,j,k;
-
- f1 = 0.1; f2 = 0.2; f3 = 0.3; f4 = 0.4; f5 = 0.5;
- f6 = 0.6; f7 = 0.7; f8 = 0.8; f9 = 0.9; f10 = 1.0;
- f11 = 1.1; f12 = 1.2; f13 = 1.3; f14 = 1.4; f15 = 1.5;
- f16 = 1.6; f17 = 1.7; f18 = 1.8; f19 = 1.9; f20 = 2.0;
- f21 = 2.1; f22 = 2.2; f23 = 2.3; f24 = 2.4; f25 = 2.5;
- f26 = 2.6; f27 = 2.7; f28 = 2.8; f29 = 2.9; f30 = 3.0;
-
- i = (int) foo(1.0,1.0,1.0);
- while (i > 0) {
- f1 = f2 / f3 * f30;
- f2 = f3 / f4 * f30;
- f3 = f4 / f5 * f30;
- f4 = f5 / f6 * f30;
- f5 = f6 / f7 * f30;
- f6 = f7 / f8 * f30;
- f7 = f8 / f9 * f30;
- f8 = f9 / f10 * f30;
- f9 = f10 / f11 * f30;
- f10 = f11 / f12 * f30;
- f11 = f12 / f13 * f30;
- f12 = f13 / f14 * f25;
- f13 = f14 / f15 * f30;
- f14 = f15 / f16 * f30;
- f15 = f16 / f17 * f30;
- f16 = f17 / f18 * f30;
- f17 = f18 / f19 * f30;
- f18 = f19 / f20 * f30;
- f19 = f20 / f21 * f30;
- f20 = f21 / f22 * f20;
- f21 = f22 / f23 * f30;
- f22 = f23 / f24 * f30;
- f23 = f24 / f25 * f30;
- f24 = f25 / f26 * f30;
- f25 = f26 / f27 * f30;
- f26 = f27 / f28 * f30;
- f27 = f28 / f29 * f30;
- f28 = f29 / f30 * f30;
- f29 = f30 / f1 * f30;
- f30 = f1 / f2 * f30;
- x = foo(f1,f2,f3);
- i = i - 1;
- }
- x = (f1+f2+f3+f4+f5+f6+f7+f8+f9+f10) *
- (f11+f12+f13+f14+f15+f16+f17+f18+f19+f20) *
- (f21+f22+f23+f24+f25+f26+f27+f28+f29+f30);
-
- /* Exact value is not needed, on IA64 it is massively off. */
- if (x < 19503.0 || x > 19504.0) abort();
- return 0;
-}
diff --git a/gcc/testsuite/gcc.dg/altivec-12.c b/gcc/testsuite/gcc.dg/altivec-12.c
deleted file mode 100644
index 0a32b64fe87..00000000000
--- a/gcc/testsuite/gcc.dg/altivec-12.c
+++ /dev/null
@@ -1,96 +0,0 @@
-/* { dg-do run { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-/* Program to test PowerPC AltiVec instructions. */
-
-#include <altivec.h>
-#include "altivec_check.h"
-
-extern void abort (void);
-#define CHECK_IF(E) if(!(E)) abort()
-
-vector int a1 = (vector int){ 100, 200, 300, 400 };
-vector int a2 = (vector int){ 500, 600, 700, 800 };
-vector int addi = (vector int){ 600, 800, 1000, 1200 };
-vector int avgi = (vector int){ 300, 400, 500, 600 };
-
-vector float f1 = (vector float){ 1.0, 2.0, 3.0, 4.0 };
-vector float f2 = (vector float){ 5.0, 6.0, 7.0, 8.0 };
-vector float f3;
-vector float addf1 = (vector float){ 6.0, 8.0, 10.0, 12.0 };
-vector float addf2 = (vector float){ 6.1, 8.1, 10.1, 12.1 };
-vector float addf3 = (vector float){ 6.0, 8.0, 9.9, 12.1 };
-vector int k;
-vector float f, g, h;
-
-int main ()
-{
-
- altivec_check(); /* Exit if AltiVec not available. */
-
- k = vec_add (a1, a2);
- CHECK_IF (vec_all_eq (addi, k));
- CHECK_IF (vec_all_ge (addi, k));
- CHECK_IF (vec_all_le (addi, k));
- CHECK_IF (vec_any_eq (addi, k));
- CHECK_IF (vec_any_ge (addi, k));
- CHECK_IF (vec_any_le (addi, k));
- CHECK_IF (!vec_any_ne (addi, k));
- CHECK_IF (!vec_any_lt (addi, k));
- CHECK_IF (!vec_any_gt (addi, k));
- CHECK_IF (!vec_any_ne (addi, k));
- CHECK_IF (!vec_any_lt (addi, k));
- CHECK_IF (!vec_any_gt (addi, k));
-
- k = vec_avg (a1, a2);
- CHECK_IF (vec_all_eq (k, avgi));
-
- h = vec_add (f1, f2);
- CHECK_IF (vec_all_eq (h, addf1));
- CHECK_IF (vec_all_ge (h, addf1));
- CHECK_IF (vec_all_le (h, addf1));
- CHECK_IF (vec_any_eq (h, addf1));
- CHECK_IF (vec_any_ge (h, addf1));
- CHECK_IF (vec_any_le (h, addf1));
- CHECK_IF (!vec_any_ne (h, addf1));
- CHECK_IF (!vec_any_lt (h, addf1));
- CHECK_IF (!vec_any_gt (h, addf1));
- CHECK_IF (!vec_any_ne (h, addf1));
- CHECK_IF (!vec_any_lt (h, addf1));
- CHECK_IF (!vec_any_gt (h, addf1));
-
- CHECK_IF (vec_all_gt (addf2, addf1));
- CHECK_IF (vec_any_gt (addf2, addf1));
- CHECK_IF (vec_all_ge (addf2, addf1));
- CHECK_IF (vec_any_ge (addf2, addf1));
- CHECK_IF (vec_all_ne (addf2, addf1));
- CHECK_IF (vec_any_ne (addf2, addf1));
- CHECK_IF (!vec_all_lt (addf2, addf1));
- CHECK_IF (!vec_any_lt (addf2, addf1));
- CHECK_IF (!vec_all_le (addf2, addf1));
- CHECK_IF (!vec_any_le (addf2, addf1));
- CHECK_IF (!vec_all_eq (addf2, addf1));
- CHECK_IF (!vec_any_eq (addf2, addf1));
-
- CHECK_IF (vec_any_eq (addf3, addf1));
- CHECK_IF (vec_any_ne (addf3, addf1));
- CHECK_IF (vec_any_lt (addf3, addf1));
- CHECK_IF (vec_any_le (addf3, addf1));
- CHECK_IF (vec_any_gt (addf3, addf1));
- CHECK_IF (vec_any_ge (addf3, addf1));
- CHECK_IF (!vec_all_eq (addf3, addf1));
- CHECK_IF (!vec_all_ne (addf3, addf1));
- CHECK_IF (!vec_all_lt (addf3, addf1));
- CHECK_IF (!vec_all_le (addf3, addf1));
- CHECK_IF (!vec_all_gt (addf3, addf1));
- CHECK_IF (!vec_all_ge (addf3, addf1));
-
- CHECK_IF (vec_all_numeric (addf3));
- CHECK_IF (vec_all_in (addf1, addf2));
-
- CHECK_IF (vec_step (vector bool char) == 16);
- CHECK_IF (vec_step (addf3) == 4);
-
- return 0;
-}
diff --git a/gcc/testsuite/gcc.dg/altivec-13.c b/gcc/testsuite/gcc.dg/altivec-13.c
deleted file mode 100644
index 8675e2c7cc7..00000000000
--- a/gcc/testsuite/gcc.dg/altivec-13.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-/* Author: Ziemowit Laski <zlaski@apple.com> */
-
-/* This test case exercises intrinsic/argument combinations that,
- while not in the Motorola AltiVec PIM, have nevertheless crept
- into the AltiVec vernacular over the years. */
-
-#include <altivec.h>
-
-void foo (void)
-{
- vector bool int boolVec1 = (vector bool int) vec_splat_u32(3);
- vector bool short boolVec2 = (vector bool short) vec_splat_u16(3);
- vector bool char boolVec3 = (vector bool char) vec_splat_u8(3);
-
- boolVec1 = vec_sld( boolVec1, boolVec1, 4 );
- boolVec2 = vec_sld( boolVec2, boolVec2, 2 );
- boolVec3 = vec_sld( boolVec3, boolVec3, 1 );
-}
diff --git a/gcc/testsuite/gcc.dg/altivec-14.c b/gcc/testsuite/gcc.dg/altivec-14.c
deleted file mode 100644
index b67c529377b..00000000000
--- a/gcc/testsuite/gcc.dg/altivec-14.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* { dg-do compile { target powerpc-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-#include <altivec.h>
-
-vector bool long vbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-vector signed long vsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-vector unsigned long vul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-vector bool long *pvbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-vector signed long *pvsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-vector unsigned long *pvul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-
-void fvbl (vector bool long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-void fvsl (vector signed long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-void fvul (vector unsigned long v) { } /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
-
-int main ()
-{
- vector bool long lvbl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
- vector signed long lvsl; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
- vector unsigned long lvul; /* { dg-warning "use of .long. in AltiVec types is deprecated; use .int." } */
- return 0;
-}
diff --git a/gcc/testsuite/gcc.dg/altivec-15.c b/gcc/testsuite/gcc.dg/altivec-15.c
deleted file mode 100644
index 5d9f9ff37da..00000000000
--- a/gcc/testsuite/gcc.dg/altivec-15.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec" } */
-
-#include <altivec.h>
-
-/* Test whether the C front-end is not excessively picky about
- the integral types and literals that AltiVec instrinsics will
- accept. */
-
-vector int vi = { 1, 2, 3, 4 };
-
-int
-main (void)
-{
- unsigned long ul = 2;
- signed long sl = 2;
- unsigned int ui = 2;
- signed int si = 2;
- float fl = 2.0;
-
- vec_dst (&vi, ul, '\0');
- vec_dst (&vi, sl, 0);
- vec_dst (&vi, ui, '\0');
- vec_dst (&vi, si, 0);
- vec_dstst (&vi, (short)fl, '\0');
-
- return 0;
-}
-
diff --git a/gcc/testsuite/gcc.dg/altivec-16.c b/gcc/testsuite/gcc.dg/altivec-16.c
deleted file mode 100644
index 3b790f5ebfe..00000000000
--- a/gcc/testsuite/gcc.dg/altivec-16.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* This is a compile-only test for interaction of "-maltivec" and "-save-temps". */
-/* Author: Ziemowit Laski <zlaski@apple.com>. */
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-save-temps -maltivec" } */
-
-#include <altivec.h>
-
-#define vector_float vector float
-#define vector_float_foo vector float foo
-#define vector_float_bar_eq vector float bar =
-
-/* NB: Keep the following split across three lines. */
-vector
-int
-a1 = { 100, 200, 300, 400 };
-
-vector_float f1 = { 1.0, 2.0, 3.0, 4.0 };
-vector_float_foo = { 3.0, 4.0, 5.0, 6.0 };
-vector_float_bar_eq { 8.0, 7.0, 6.0, 5.0 };
diff --git a/gcc/testsuite/gcc.dg/altivec-6.c b/gcc/testsuite/gcc.dg/altivec-6.c
deleted file mode 100644
index e0193546679..00000000000
--- a/gcc/testsuite/gcc.dg/altivec-6.c
+++ /dev/null
@@ -1,66 +0,0 @@
-/* { dg-do compile { target powerpc-*-* } } */
-/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
-/* { dg-options "-maltivec -O0 -Wall" } */
-
-#include <altivec.h>
-
-/* These denote "generic" GCC vectors. */
-static int __attribute__((vector_size(16))) x, y;
-
-static vector signed int i,j;
-static vector signed short s,t;
-static vector signed char c,d;
-static vector float f,g;
-
-static vector unsigned char uc;
-
-static vector signed int *pi;
-
-static int int1, int2;
-
-void
-b()
-{
- vec_add (x, y);
-
- /* Make sure the predicates accept correct argument types. */
-
- int1 = vec_all_in (f, g);
- int1 = vec_all_ge (f, g);
- int1 = vec_all_eq (c, d);
- int1 = vec_all_ne (s, t);
- int1 = vec_any_eq (i, j);
- int1 = vec_any_ge (f, g);
- int1 = vec_all_ngt (f, g);
- int1 = vec_any_ge (c, d);
- int1 = vec_any_ge (s, t);
- int1 = vec_any_ge (i, j);
- int1 = vec_any_ge (c, d);
- int1 = vec_any_ge (s, t);
- int1 = vec_any_ge (i, j);
-
- vec_mtvscr (i);
- vec_dssall ();
- s = (vector signed short) vec_mfvscr ();
- vec_dss (3);
-
- vec_dst (pi, int1 + int2, 3);
- vec_dstst (pi, int1 + int2, 3);
- vec_dststt (pi, int1 + int2, 3);
- vec_dstt (pi, int1 + int2, 3);
-
- uc = (vector unsigned char) vec_lvsl (int1 + 69, (signed int *) pi);
- uc = (vector unsigned char) vec_lvsr (int1 + 69, (signed int *) pi);
-
- c = vec_lde (int1, (signed char *) pi);
- s = vec_lde (int1, (signed short *) pi);
- i = vec_lde (int1, (signed int *) pi);
- i = vec_ldl (int1, pi);
- i = vec_ld (int1, pi);
-
- vec_st (i, int2, pi);
- vec_ste (c, int2, (signed char *) pi);
- vec_ste (s, int2, (signed short *) pi);
- vec_ste (i, int2, (signed int *) pi);
- vec_stl (i, int2, pi);
-}
diff --git a/gcc/testsuite/gcc.dg/compat/union-by-value-1_main.c b/gcc/testsuite/gcc.dg/compat/union-by-value-1_main.c
deleted file mode 100644
index cd9065920f6..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-by-value-1_main.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Test function argument passing. This was written when correcting
- a deviation from the ABI on SPARC64 between 3.3 and 3.4. */
-
-extern void union_by_value_1_x (void);
-extern void exit (int);
-int fails;
-
-int
-main ()
-{
- union_by_value_1_x ();
- exit (0);
-}
diff --git a/gcc/testsuite/gcc.dg/compat/union-by-value-1_x.c b/gcc/testsuite/gcc.dg/compat/union-by-value-1_x.c
deleted file mode 100644
index a3efd4ed7d8..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-by-value-1_x.c
+++ /dev/null
@@ -1,180 +0,0 @@
-#include "compat-common.h"
-
-#define T(TYPE) \
-TYPE g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE; \
-TYPE g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE; \
-TYPE g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE; \
-TYPE g13s##TYPE, g14s##TYPE, g15s##TYPE, g16s##TYPE; \
- \
-extern void init##TYPE (TYPE *p, int i); \
-extern void checkg##TYPE (void); \
-extern void \
-test##TYPE (TYPE s1, TYPE s2, TYPE s3, TYPE s4, \
- TYPE s5, TYPE s6, TYPE s7, TYPE s8, \
- TYPE s9, TYPE s10, TYPE s11, TYPE s12, \
- TYPE s13, TYPE s14, TYPE s15, TYPE s16); \
-extern void testva##TYPE (int n, ...); \
- \
-void \
-test2_##TYPE (TYPE s1, TYPE s2, TYPE s3, TYPE s4, \
- TYPE s5, TYPE s6, TYPE s7, TYPE s8) \
-{ \
- test##TYPE (s1, g2s##TYPE, s2, g4s##TYPE, \
- s3, g6s##TYPE, s4, g8s##TYPE, \
- s5, g10s##TYPE, s6, g12s##TYPE, \
- s7, g14s##TYPE, s8, g16s##TYPE); \
-} \
- \
-void \
-testit##TYPE (void) \
-{ \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" init: "); \
- init##TYPE ( &g1s##TYPE, 1); \
- init##TYPE ( &g2s##TYPE, 2); \
- init##TYPE ( &g3s##TYPE, 3); \
- init##TYPE ( &g4s##TYPE, 4); \
- init##TYPE ( &g5s##TYPE, 5); \
- init##TYPE ( &g6s##TYPE, 6); \
- init##TYPE ( &g7s##TYPE, 7); \
- init##TYPE ( &g8s##TYPE, 8); \
- init##TYPE ( &g9s##TYPE, 9); \
- init##TYPE (&g10s##TYPE, 10); \
- init##TYPE (&g11s##TYPE, 11); \
- init##TYPE (&g12s##TYPE, 12); \
- init##TYPE (&g13s##TYPE, 13); \
- init##TYPE (&g14s##TYPE, 14); \
- init##TYPE (&g15s##TYPE, 15); \
- init##TYPE (&g16s##TYPE, 16); \
- checkg##TYPE (); \
- DEBUG_NL; \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" test: "); \
- test##TYPE (g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE, \
- g13s##TYPE, g14s##TYPE, g15s##TYPE, g16s##TYPE); \
- DEBUG_NL; \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" testva:"); \
- DEBUG_NL; \
- testva##TYPE (1, \
- g1s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (2, \
- g1s##TYPE, g2s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (3, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (4, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (5, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (6, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (7, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (8, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (9, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (10, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (11, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE, g11s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (12, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (13, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE, \
- g13s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (14, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE, \
- g13s##TYPE, g14s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (15, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE, \
- g13s##TYPE, g14s##TYPE, g15s##TYPE); \
- DEBUG_NL; \
- testva##TYPE (16, \
- g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE, \
- g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE, \
- g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE, \
- g13s##TYPE, g14s##TYPE, g15s##TYPE, g16s##TYPE); \
- DEBUG_NL; \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" test2:"); \
- test2_##TYPE (g1s##TYPE, g3s##TYPE, g5s##TYPE, g7s##TYPE, \
- g9s##TYPE, g11s##TYPE, g13s##TYPE, g15s##TYPE); \
- DEBUG_NL; \
-}
-
-#include "union-defs.h"
-#include "union-check.h"
-
-T(Ucs)
-T(Uci)
-T(Ucl)
-T(Ucll)
-T(Usi)
-T(Usl)
-T(Usll)
-T(Uil)
-T(Uill)
-T(Ulll)
-
-#undef T
-
-void
-union_by_value_1_x ()
-{
-DEBUG_INIT
-
-#define T(TYPE) testit##TYPE ();
-
-T(Ucs)
-T(Uci)
-T(Ucl)
-T(Ucll)
-T(Usi)
-T(Usl)
-T(Usll)
-T(Uil)
-T(Uill)
-T(Ulll)
-
-DEBUG_FINI
-
-if (fails != 0)
- abort ();
-
-#undef T
-}
diff --git a/gcc/testsuite/gcc.dg/compat/union-by-value-1_y.c b/gcc/testsuite/gcc.dg/compat/union-by-value-1_y.c
deleted file mode 100644
index b17613e9952..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-by-value-1_y.c
+++ /dev/null
@@ -1,92 +0,0 @@
-#include <stdarg.h>
-
-#include "compat-common.h"
-
-#ifdef SKIP_VA
-const int test_va = 0;
-#else
-const int test_va = 1;
-#endif
-
-#include "union-defs.h"
-#include "union-init.h"
-
-#define T(TYPE) \
-extern void check##TYPE (TYPE x, int i); \
-extern TYPE g1s##TYPE, g2s##TYPE, g3s##TYPE, g4s##TYPE; \
-extern TYPE g5s##TYPE, g6s##TYPE, g7s##TYPE, g8s##TYPE; \
-extern TYPE g9s##TYPE, g10s##TYPE, g11s##TYPE, g12s##TYPE; \
-extern TYPE g13s##TYPE, g14s##TYPE, g15s##TYPE, g16s##TYPE; \
- \
-void \
-checkg##TYPE (void) \
-{ \
- check##TYPE ( g1s##TYPE, 1); \
- check##TYPE ( g2s##TYPE, 2); \
- check##TYPE ( g3s##TYPE, 3); \
- check##TYPE ( g4s##TYPE, 4); \
- check##TYPE ( g5s##TYPE, 5); \
- check##TYPE ( g6s##TYPE, 6); \
- check##TYPE ( g7s##TYPE, 7); \
- check##TYPE ( g8s##TYPE, 8); \
- check##TYPE ( g9s##TYPE, 9); \
- check##TYPE ( g10s##TYPE, 10); \
- check##TYPE ( g11s##TYPE, 11); \
- check##TYPE ( g12s##TYPE, 12); \
- check##TYPE ( g13s##TYPE, 13); \
- check##TYPE ( g14s##TYPE, 14); \
- check##TYPE ( g15s##TYPE, 15); \
- check##TYPE ( g16s##TYPE, 16); \
-} \
- \
-void \
-test##TYPE (TYPE s1, TYPE s2, TYPE s3, TYPE s4, \
- TYPE s5, TYPE s6, TYPE s7, TYPE s8, \
- TYPE s9, TYPE s10, TYPE s11, TYPE s12, \
- TYPE s13, TYPE s14, TYPE s15, TYPE s16) \
-{ \
- check##TYPE (s1, 1); \
- check##TYPE (s2, 2); \
- check##TYPE (s3, 3); \
- check##TYPE (s4, 4); \
- check##TYPE (s5, 5); \
- check##TYPE (s6, 6); \
- check##TYPE (s7, 7); \
- check##TYPE (s8, 8); \
- check##TYPE (s9, 9); \
- check##TYPE (s10, 10); \
- check##TYPE (s11, 11); \
- check##TYPE (s12, 12); \
- check##TYPE (s13, 13); \
- check##TYPE (s14, 14); \
- check##TYPE (s15, 15); \
- check##TYPE (s16, 16); \
-} \
- \
-void \
-testva##TYPE (int n, ...) \
-{ \
- int i; \
- va_list ap; \
- if (test_va) \
- { \
- va_start (ap, n); \
- for (i = 0; i < n; i++) \
- { \
- TYPE t = va_arg (ap, TYPE); \
- check##TYPE (t, i+1); \
- } \
- va_end (ap); \
- } \
-}
-
-T(Ucs)
-T(Uci)
-T(Ucl)
-T(Ucll)
-T(Usi)
-T(Usl)
-T(Usll)
-T(Uil)
-T(Uill)
-T(Ulll)
diff --git a/gcc/testsuite/gcc.dg/compat/union-check.h b/gcc/testsuite/gcc.dg/compat/union-check.h
deleted file mode 100644
index b5157814d58..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-check.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Function definitions that are used by multiple tests. */
-
-#define CHECK_CHAR(TYPE) \
- void check##TYPE (TYPE p, int i) \
- { if (p.c != (char)i) DEBUG_CHECK }
-
-CHECK_CHAR(Ucs)
-CHECK_CHAR(Uci)
-CHECK_CHAR(Ucl)
-CHECK_CHAR(Ucll)
-
-
-#define CHECK_SHORT(TYPE) \
- void check##TYPE (TYPE p, int i) \
- { if (p.s != (short)i) DEBUG_CHECK }
-
-CHECK_SHORT(Usi)
-CHECK_SHORT(Usl)
-CHECK_SHORT(Usll)
-
-
-#define CHECK_INT(TYPE) \
- void check##TYPE (TYPE p, int i) \
- { if (p.i != i) DEBUG_CHECK }
-
-CHECK_INT(Uil)
-CHECK_INT(Uill)
-
-
-#define CHECK_LONG(TYPE) \
- void check##TYPE (TYPE p, int i) \
- { if (p.l != (long)i) DEBUG_CHECK }
-
-CHECK_LONG(Ulll)
diff --git a/gcc/testsuite/gcc.dg/compat/union-defs.h b/gcc/testsuite/gcc.dg/compat/union-defs.h
deleted file mode 100644
index 887cd6da8e8..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-defs.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/* Type definitions that are used by multiple tests. */
-
-typedef union { char c; short s; } Ucs;
-typedef union { char c; int i; } Uci;
-typedef union { char c; long l; } Ucl;
-typedef union { char c; long long ll; } Ucll;
-
-typedef union { short s; int i; } Usi;
-typedef union { short s; long l; } Usl;
-typedef union { short s; long long ll; } Usll;
-
-typedef union { int i; long l; } Uil;
-typedef union { int i; long long ll; } Uill;
-
-typedef union { long l; long long ll; } Ulll;
diff --git a/gcc/testsuite/gcc.dg/compat/union-init.h b/gcc/testsuite/gcc.dg/compat/union-init.h
deleted file mode 100644
index 5add7b4a800..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-init.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Function definitions that are used by multiple tests. */
-
-#define INIT_CHAR(TYPE) \
- void init##TYPE (TYPE *p, int i) \
- { p->c = (char)i; }
-
-INIT_CHAR(Ucs)
-INIT_CHAR(Uci)
-INIT_CHAR(Ucl)
-INIT_CHAR(Ucll)
-
-
-#define INIT_SHORT(TYPE) \
- void init##TYPE (TYPE *p, int i) \
- { p->s = (short)i; }
-
-INIT_SHORT(Usi)
-INIT_SHORT(Usl)
-INIT_SHORT(Usll)
-
-
-#define INIT_INT(TYPE) \
- void init##TYPE (TYPE *p, int i) \
- { p->i = i; }
-
-INIT_INT(Uil)
-INIT_INT(Uill)
-
-
-#define INIT_LONG(TYPE) \
- void init##TYPE (TYPE *p, int i) \
- { p->l = (long)i; }
-
-INIT_LONG(Ulll)
diff --git a/gcc/testsuite/gcc.dg/compat/union-return-1_main.c b/gcc/testsuite/gcc.dg/compat/union-return-1_main.c
deleted file mode 100644
index edf15166b95..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-return-1_main.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Test function return values. This was written when correcting
- a deviation from the ABI on SPARC64 between 3.3 and 3.4. */
-
-extern void union_return_1_x (void);
-extern void exit (int);
-int fails;
-
-int
-main ()
-{
- union_return_1_x ();
- exit (0);
-}
diff --git a/gcc/testsuite/gcc.dg/compat/union-return-1_x.c b/gcc/testsuite/gcc.dg/compat/union-return-1_x.c
deleted file mode 100644
index 761f000aa11..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-return-1_x.c
+++ /dev/null
@@ -1,124 +0,0 @@
-#include "compat-common.h"
-
-#ifdef SKIP_VA
-const int test_va = 0;
-#else
-const int test_va = 1;
-#endif
-
-#define T(TYPE) \
-TYPE g01##TYPE, g02##TYPE, g03##TYPE, g04##TYPE; \
-TYPE g05##TYPE, g06##TYPE, g07##TYPE, g08##TYPE; \
-TYPE g09##TYPE, g10##TYPE, g11##TYPE, g12##TYPE; \
-TYPE g13##TYPE, g14##TYPE, g15##TYPE, g16##TYPE; \
- \
-extern void init##TYPE (TYPE *p, int i); \
-extern void checkg##TYPE (void); \
-extern TYPE test0##TYPE (void); \
-extern TYPE test1##TYPE (TYPE); \
-extern TYPE testva##TYPE (int n, ...); \
- \
-void \
-testit##TYPE (void) \
-{ \
- TYPE rslt; \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" init: "); \
- init##TYPE (&g01##TYPE, 1); \
- init##TYPE (&g02##TYPE, 2); \
- init##TYPE (&g03##TYPE, 3); \
- init##TYPE (&g04##TYPE, 4); \
- init##TYPE (&g05##TYPE, 5); \
- init##TYPE (&g06##TYPE, 6); \
- init##TYPE (&g07##TYPE, 7); \
- init##TYPE (&g08##TYPE, 8); \
- init##TYPE (&g09##TYPE, 9); \
- init##TYPE (&g10##TYPE, 10); \
- init##TYPE (&g11##TYPE, 11); \
- init##TYPE (&g12##TYPE, 12); \
- init##TYPE (&g13##TYPE, 13); \
- init##TYPE (&g14##TYPE, 14); \
- init##TYPE (&g15##TYPE, 15); \
- init##TYPE (&g16##TYPE, 16); \
- checkg##TYPE (); \
- DEBUG_NL; \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" test0: "); \
- rslt = test0##TYPE (); \
- check##TYPE (rslt, 1); \
- DEBUG_NL; \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" test1: "); \
- rslt = test1##TYPE (g01##TYPE); \
- check##TYPE (rslt, 1); \
- if (test_va) \
- { \
- DEBUG_NL; \
- DEBUG_FPUTS (#TYPE); \
- DEBUG_FPUTS (" testva: "); \
- rslt = testva##TYPE (1, g01##TYPE); \
- check##TYPE (rslt, 1); \
- rslt = testva##TYPE (5, g01##TYPE, g02##TYPE, \
- g03##TYPE, g04##TYPE, \
- g05##TYPE); \
- check##TYPE (rslt, 5); \
- rslt = testva##TYPE (9, g01##TYPE, g02##TYPE, \
- g03##TYPE, g04##TYPE, \
- g05##TYPE, g06##TYPE, \
- g07##TYPE, g08##TYPE, \
- g09##TYPE); \
- check##TYPE (rslt, 9); \
- rslt = testva##TYPE (16, g01##TYPE, g02##TYPE, \
- g03##TYPE, g04##TYPE, \
- g05##TYPE, g06##TYPE, \
- g07##TYPE, g08##TYPE, \
- g09##TYPE, g10##TYPE, \
- g11##TYPE, g12##TYPE, \
- g13##TYPE, g14##TYPE, \
- g15##TYPE, g16##TYPE); \
- check##TYPE (rslt, 16); \
- } \
- DEBUG_NL; \
-}
-
-#include "union-defs.h"
-#include "union-check.h"
-
-T(Ucs)
-T(Uci)
-T(Ucl)
-T(Ucll)
-T(Usi)
-T(Usl)
-T(Usll)
-T(Uil)
-T(Uill)
-T(Ulll)
-
-#undef T
-
-void
-union_return_1_x ()
-{
-DEBUG_INIT
-
-#define T(TYPE) testit##TYPE ();
-
-T(Ucs)
-T(Uci)
-T(Ucl)
-T(Ucll)
-T(Usi)
-T(Usl)
-T(Usll)
-T(Uil)
-T(Uill)
-T(Ulll)
-
-DEBUG_FINI
-
-if (fails != 0)
- abort ();
-
-#undef T
-}
diff --git a/gcc/testsuite/gcc.dg/compat/union-return-1_y.c b/gcc/testsuite/gcc.dg/compat/union-return-1_y.c
deleted file mode 100644
index 9eaa9777e0a..00000000000
--- a/gcc/testsuite/gcc.dg/compat/union-return-1_y.c
+++ /dev/null
@@ -1,71 +0,0 @@
-#include <stdarg.h>
-
-#include "compat-common.h"
-
-#include "union-defs.h"
-#include "union-init.h"
-
-#define T(TYPE) \
-extern TYPE g01##TYPE, g02##TYPE, g03##TYPE, g04##TYPE; \
-extern TYPE g05##TYPE, g06##TYPE, g07##TYPE, g08##TYPE; \
-extern TYPE g09##TYPE, g10##TYPE, g11##TYPE, g12##TYPE; \
-extern TYPE g13##TYPE, g14##TYPE, g15##TYPE, g16##TYPE; \
- \
-extern void check##TYPE (TYPE x, int i); \
- \
-void \
-checkg##TYPE (void) \
-{ \
- check##TYPE (g01##TYPE, 1); \
- check##TYPE (g02##TYPE, 2); \
- check##TYPE (g03##TYPE, 3); \
- check##TYPE (g04##TYPE, 4); \
- check##TYPE (g05##TYPE, 5); \
- check##TYPE (g06##TYPE, 6); \
- check##TYPE (g07##TYPE, 7); \
- check##TYPE (g08##TYPE, 8); \
- check##TYPE (g09##TYPE, 9); \
- check##TYPE (g10##TYPE, 10); \
- check##TYPE (g11##TYPE, 11); \
- check##TYPE (g12##TYPE, 12); \
- check##TYPE (g13##TYPE, 13); \
- check##TYPE (g14##TYPE, 14); \
- check##TYPE (g15##TYPE, 15); \
- check##TYPE (g16##TYPE, 16); \
-} \
- \
-TYPE \
-test0##TYPE (void) \
-{ \
- return g01##TYPE; \
-} \
- \
-TYPE \
-test1##TYPE (TYPE x01) \
-{ \
- return x01; \
-} \
- \
-TYPE \
-testva##TYPE (int n, ...) \
-{ \
- int i; \
- TYPE rslt; \
- va_list ap; \
- va_start (ap, n); \
- for (i = 0; i < n; i++) \
- rslt = va_arg (ap, TYPE); \
- va_end (ap); \
- return rslt; \
-}
-
-T(Ucs)
-T(Uci)
-T(Ucl)
-T(Ucll)
-T(Usi)
-T(Usl)
-T(Usll)
-T(Uil)
-T(Uill)
-T(Ulll)
diff --git a/gcc/testsuite/gcc.dg/ftrapv-1.c b/gcc/testsuite/gcc.dg/ftrapv-1.c
deleted file mode 100644
index 44eb176b50d..00000000000
--- a/gcc/testsuite/gcc.dg/ftrapv-1.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright (C) 2004 Free Software Foundation.
-
- PR other/15526
- Verify correct overflow checking with -ftrapv.
-
- Written by Falk Hueffner, 20th May 2004. */
-
-/* { dg-do run } */
-/* { dg-options "-ftrapv" } */
-
-__attribute__((noinline)) int
-mulv(int a, int b)
-{
- return a * b;
-}
-
-int
-main()
-{
- mulv( 0, 0);
- mulv( 0, -1);
- mulv(-1, 0);
- mulv(-1, -1);
- return 0;
-}
diff --git a/gcc/testsuite/gcc.dg/range-test-1.c b/gcc/testsuite/gcc.dg/range-test-1.c
deleted file mode 100644
index 93a90ac7187..00000000000
--- a/gcc/testsuite/gcc.dg/range-test-1.c
+++ /dev/null
@@ -1,168 +0,0 @@
-/* Test fold-const.c (fold_range_test) optimizations. */
-/* { dg-do run } */
-/* { dg-options "-O2" } */
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <limits.h>
-
-#if (INT_MAX == 2147483647) && (INT_MIN == -2147483648) \
- && (SCHAR_MIN == -128) && (SCHAR_MAX == 127) \
- && (UCHAR_MIN == 0) && (UCHAR_MAX == 255)
-
-#ifndef T
-
-enum integers
-{
- int_smallest = INT_MIN,
- int_2ndsmallest = INT_MIN + 1,
- int_3rdsmallest = INT_MIN + 2,
- int_minus2 = -2,
- int_minus1 = -1,
- int_zero = 0,
- int_one = 1,
- int_two = 2,
- int_3rdlargest = INT_MAX - 2,
- int_2ndlargest = INT_MAX - 1,
- int_largest = INT_MAX
-};
-
-int var;
-void
-check (void)
-{
- ++var;
-}
-
-#define T(IDX, TYPE, TEST, YESARR, NOARR) \
-void __attribute__((noinline)) \
-test##IDX (TYPE x) \
-{ \
- if (TEST) \
- check (); \
-}
-#include "range-test-1.c"
-#undef T
-
-int
-main (void)
-{
- int i, fails = 0;
-
-#define C ,
-#define T(IDX, TYPE, TEST, YESARR, NOARR) \
- { \
- static TYPE yesarr##IDX [] = YESARR; \
- static TYPE noarr##IDX [] = NOARR; \
- for (i = 0; i < (int) (sizeof (yesarr##IDX) / sizeof (TYPE)); ++i) \
- { \
- var = 0; \
- test##IDX (yesarr##IDX [i]); \
- if (var != 1) \
- printf ("test" #IDX " failed for yesarr [%u]\n", i), ++fails; \
- } \
- var = 0; \
- for (i = 0; i < (int) (sizeof (noarr##IDX) / sizeof (TYPE)); ++i) \
- { \
- test##IDX (noarr##IDX [i]); \
- if (var != 0) \
- printf ("test" #IDX " failed for noarr [%u]\n", i), ++fails; \
- } \
- }
-#include "range-test-1.c"
-#undef T
-
- if (fails)
- abort ();
-
- exit (0);
-}
-
-#else
-
-/* Use `C' instead of `,' below to separate array entries. */
-
-/* These ought to be all optimized into single comparison. */
-T(1, unsigned int, x == 0 || x == 1,
- { 0 C 1 }, { -1U C 2 C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(2, unsigned int, x == 0 || x == -1U || x == -2U,
- { 0 C -1U C -2U }, { -3U C -6U C 1 C 2 C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(3, unsigned int, x == 0 || x == 1 || x == 2,
- { 0 C 1 C 2 }, { -3U C -6U C -1U C -2U C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(4, unsigned int, x == 3 || x == 4 || x == 5 || x == 6,
- { 3 C 4 C 5 C 6 }, { -3U C 0 C 1 C 2 C 7 C 8 C 12 C 0x7fffffff C 0x80000000 })
-T(5, unsigned int, x == -3U || x == -4U || x == -5U || x == -6U,
- { -3U C -4U C -5U C -6U }, { -7U C -8U C -2U C -1U C 1 C 2 C 0x7fffffff C 0x80000000 })
-T(6, unsigned int, x == -3U || x == -4U || x == -5U,
- { -3U C -4U C -5U }, { -6U C -7U C -8U C -2U C -1U C 1 C 2 C 0x7fffffff C 0x80000000 })
-T(7, char *, x == (char *) -3UL || x == (char *) -4UL || x == (char *) -5UL,
- { (char *) -3UL C (char *) -4UL C (char *) -5UL },
- { (char *) -6UL C (char *) -20UL C (char *) -2UL C (char *) -1UL C (char *) 0
- C (char *) 1UL C (char *) 35UL C (char *) 0x7fffffffUL C (char *) 0x80000000UL })
-T(8, unsigned long, x == -2UL || x == -1UL || x == 0,
- { 0 C -1UL C -2UL }, { -3UL C -6UL C 1 C 2 C 12 C 35 C 0x7fffffff C 0x80000000 })
-T(9, unsigned long, x >= -4UL || x <= 8,
- { -4UL C -3UL C -2UL C -1UL C 0 C 1 C 2 C 3 C 4 C 5 C 6 C 7 C 8 },
- { -7UL C -5UL C 9 C 10 C 61 C 127 C 0x7fffffff C 0x80000000 })
-T(10, signed char, x == 0 || x == -1 || x == -2 || x == -3,
- { 0 C -1 C -2 C -3 }, { -4 C -5 C 1 C 2 C 3 C 35 C -24 })
-T(11, int, x == 0 || x == 1,
- { 0 C 1 }, { -1 C 2 C 12 C 35 C INT_MAX C INT_MIN })
-T(12, int, x == 0 || x == -1 || x == -2,
- { 0 C -1 C -2 }, { -3 C -6 C 1 C 2 C 12 C 35 C INT_MAX C INT_MIN })
-T(13, int, x == 0 || x == 1 || x == 2,
- { 0 C 1 C 2 }, { -3 C -6 C -1 C -2 C 12 C 35 C INT_MAX C INT_MIN })
-T(14, int, x == 3 || x == 4 || x == 5 || x == 6,
- { 3 C 4 C 5 C 6 }, { -3 C 0 C 1 C 2 C 7 C 8 C 12 C INT_MAX C INT_MIN })
-T(15, int, x == -3 || x == -4 || x == -5 || x == -6,
- { -3 C -4 C -5 C -6 }, { -7 C -8 C -2 C -1 C 1 C 2 C INT_MAX C INT_MIN })
-T(16, int, x == -3 || x == -4 || x == -5,
- { -3 C -4 C -5 }, { -6 C -7 C -8 C -2 C -1 C 1 C 2 C INT_MAX C INT_MIN })
-T(17, unsigned int, (x >= -8U && x <= -3U) || x == -2U || x == -1U || x == 0 || x == 1 || x == 2,
- { -8U C -7U C -6U C -5U C -4U C -3U C -2U C -1U C 0 C 1 C 2 },
- { -9U C -10U C 3 C 4 C 12 C -54U C INT_MAX C INT_MIN })
-T(18, int, (x >= -8 && x <= -3) || x == -2 || x == -1 || x == 0 || x == 1 || x == 2,
- { -8 C -7 C -6 C -5 C -4 C -3 C -2 C -1 C 0 C 1 C 2 },
- { -9 C -10 C 3 C 4 C 12 C -54 C INT_MAX C INT_MIN })
-T(19, unsigned long, (x >= 0 && x <= 16) || (x >= 18 && x <= -1UL),
- { -3UL C -6UL C -1UL C 0 C 1 C 2 C 12 C 15 C 16 C 18 C 19 C 35 C 0x7fffffff
- C 0x80000000 }, { 17 })
-T(20, char *, x == (char *) -1UL || x == 0,
- { (char *) -1UL C 0 }, { (char *) -6UL C (char *) -20UL C (char *) -2UL
- C (char *) 1UL C (char *) 35UL C (char *) 0x7fffffffUL C (char *) 0x80000000UL })
-T(21, enum integers, x == int_zero || x == int_one,
- { int_zero C int_one }, { int_minus1 C int_two C 12 C 35 C int_largest C int_smallest })
-T(22, int, x == INT_MIN || x == INT_MAX,
- { INT_MIN C INT_MAX },
- { -1 C 0 C 1 C INT_MAX - 1 C INT_MAX - 2 C INT_MIN + 1 C INT_MIN + 2 })
-T(23, int, x == INT_MIN + 1 || x == INT_MIN + 2 || x == INT_MIN || x == INT_MAX,
- { INT_MIN + 1 C INT_MIN + 2 C INT_MIN C INT_MAX },
- { -1 C 0 C 1 C INT_MAX - 1 C INT_MAX - 2 C INT_MIN + 3 C INT_MIN + 4 })
-T(24, signed char, x == SCHAR_MIN || x == SCHAR_MAX,
- { SCHAR_MIN C SCHAR_MAX },
- { -1 C 0 C 1 C SCHAR_MAX - 1 C SCHAR_MAX - 2 C SCHAR_MIN + 1 C SCHAR_MIN + 2 })
-T(25, enum integers, x == int_smallest || x == int_largest,
- { int_smallest C int_largest }, { int_minus1 C int_zero C int_one
- C int_2ndsmallest C int_2ndlargest C int_3rdsmallest C int_3rdlargest })
-
-/* This should be optimized into unconditional jump. */
-T(o1, unsigned long, (x >= 0 && x <= 16) || (x >= 17 && x <= -1UL),
- { -3UL C -6UL C -1UL C 0 C 1 C 2 C 12 C 15 C 16 C 17 C 18 C 19 C 35 C 0x7fffffff
- C 0x80000000 }, { })
-T(o2, unsigned long, (x >= 0 && x <= -3UL) || (x == -2UL || x == -1UL),
- { -3UL C -6UL C -1UL C 0 C 1 C 2 C 12 C 15 C 16 C 17 C 18 C 19 C 35 C 0x7fffffff
- C 0x80000000 }, { })
-
-/* This should be eventually optimized into a single comparison. */
-T(td1, unsigned char, x == 0 || x == 4 || x == 1 || x == 5 || x == 2 || x == 6 || x == 3,
- { 0 C 1 C 2 C 3 C 4 C 5 C 6 }, { 7 C 8 C 127 C 128 C 254 C 255 })
-
-#endif
-
-#else
-int
-main (void)
-{
- return 0;
-}
-#endif