aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/struct/wo_prof_empty_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/struct/wo_prof_empty_str.c')
-rw-r--r--gcc/testsuite/gcc.dg/struct/wo_prof_empty_str.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/gcc/testsuite/gcc.dg/struct/wo_prof_empty_str.c b/gcc/testsuite/gcc.dg/struct/wo_prof_empty_str.c
deleted file mode 100644
index 09668fa..0000000
--- a/gcc/testsuite/gcc.dg/struct/wo_prof_empty_str.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/* { dg-do run } */
-
-#include <stdlib.h>
-
-struct S { int a; struct V *b; };
-typedef struct { int c; } T;
-typedef struct { int d; int e; } U;
-
-void *
-fn (void *x)
-{
- return x;
-}
-
-int
-foo (struct S *s)
-{
- T x;
-
- T y = *(T *)fn (&x);
- return y.c;
-}
-
-int
-bar (struct S *s)
-{
- U x;
-
- U y = *(U *)fn (&x);
- return y.d + s->a;
-}
-
-int
-main ()
-{
- struct S s;
-
- foo(&s) + bar (&s);
-
- return 0;
-}
-
-/*--------------------------------------------------------------------------*/
-/* { dg-final { scan-ipa-dump "No structures to transform" "ipa_struct_reorg" { xfail *-*-* } } } */
-/* { dg-final { cleanup-ipa-dump "*" } } */