]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Remove gcc.dg/tree-ssa/scev-3.c -4.c and 5.c
authorHans-Peter Nilsson <hp@axis.com>
Thu, 7 Dec 2023 16:23:30 +0000 (17:23 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Sat, 9 Dec 2023 01:02:59 +0000 (02:02 +0100)
These tests were recently xfailed on ilp32 targets though
passing on almost all ilp32 targets (known exceptions: ia32
and some arm subtargets).  They've been changed around too
much to remain useful.

PR testsuite/112786
* gcc.dg/tree-ssa/scev-3.c, gcc.dg/tree-ssa/scev-4.c,
gcc.dg/tree-ssa/scev-5.c: Remove.

gcc/testsuite/gcc.dg/tree-ssa/scev-3.c [deleted file]
gcc/testsuite/gcc.dg/tree-ssa/scev-4.c [deleted file]
gcc/testsuite/gcc.dg/tree-ssa/scev-5.c [deleted file]

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c b/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c
deleted file mode 100644 (file)
index beea9ae..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fgimple -fdump-tree-ivopts" } */
-
-int *a_p;
-int a[1000];
-
-void __GIMPLE (ssa,startwith ("loop"))
-f (int k)
-{
-  int i;
-  int * _1;
-
-__BB(2):
-  i_5 = k_4(D);
-  if (i_5 <= 999)
-    goto __BB4;
-  else
-    goto __BB3;
-
-__BB(3):
-  return;
-
-__BB(4):
-  goto __BB5;
-
-__BB(5):
-  i_12 = __PHI (__BB6: i_9, __BB4: i_5);
-  _1 = &a[i_12];
-  a_p = _1;
-  __MEM <int[1000]> ((int *)&a)[i_12] = 100;
-  i_9 = i_5 + i_12;
-  if (i_9 <= 999)
-    goto __BB6;
-  else
-    goto __BB3;
-
-__BB(6):
-  ;
-  goto __BB5;
-
-}
-
-/* Not all 32-bit systems fail this, but several do.  */
-/* { dg-final { scan-tree-dump-times "&a" 1 "ivopts" { xfail ilp32 } } } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/scev-4.c b/gcc/testsuite/gcc.dg/tree-ssa/scev-4.c
deleted file mode 100644 (file)
index a97f75f..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fgimple -fdump-tree-ivopts" } */
-
-typedef struct {
-    int x;
-    int y;
-} S;
-
-int *a_p;
-S a[1000];
-
-void __GIMPLE (ssa, startwith ("loop"))
-f (int k)
-{
-  int i;
-  int * _1;
-
-__BB(2):
-  i_5 = k_4(D);
-  if (i_5 <= 999)
-    goto __BB4;
-  else
-    goto __BB3;
-
-__BB(3):
-  return;
-
-__BB(4):
-  goto __BB5;
-
-__BB(5):
-  i_12 = __PHI (__BB6: i_9, __BB4: i_5);
-  _1 = &a[i_12].y;
-  a_p = _1;
-  __MEM <S[1000]> ((int *)&a)[i_12].y = 100;
-  i_9 = i_5 + i_12;
-  if (i_9 <= 999)
-    goto __BB6;
-  else
-    goto __BB3;
-
-__BB(6):
-  ;
-  goto __BB5;
-
-}
-
-/* Not all 32-bit systems fail this, but several do.  */
-/* { dg-final { scan-tree-dump-times "&a" 1 "ivopts" { xfail ilp32 } } } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/scev-5.c b/gcc/testsuite/gcc.dg/tree-ssa/scev-5.c
deleted file mode 100644 (file)
index 08f4260..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -fgimple -fdump-tree-ivopts" } */
-
-int *a_p;
-int a[1000];
-
-void __GIMPLE (ssa,startwith ("loop"))
-f (int k)
-{
-  long long int i;
-  int * _1;
-
-__BB(2):
-  i_5 = (long long int) k_4(D);
-  if (i_5 <= 999ll)
-    goto __BB4;
-  else
-    goto __BB3;
-
-__BB(3):
-  return;
-
-__BB(4):
-  goto __BB5;
-
-__BB(5):
-  i_12 = __PHI (__BB6: i_9, __BB4: i_5);
-  _1 = &a[i_12];
-  a_p = _1;
-  __MEM <int[1000]> ((int *)&a)[i_12] = 100;
-  i_9 = i_5 + i_12;
-  if (i_9 <= 999ll)
-    goto __BB6;
-  else
-    goto __BB3;
-
-__BB(6):
-  ;
-  goto __BB5;
-
-}
-
-/* Not all 32-bit systems fail this, but several do.  */
-/* { dg-final { scan-tree-dump-times "&a" 1 "ivopts" { xfail ilp32 } } } */