diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/ipa/ipa-structreorg-26-array-cast-0.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/ipa-structreorg-26-array-cast-0.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-26-array-cast-0.c b/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-26-array-cast-0.c deleted file mode 100644 index 37ac48a701c..00000000000 --- a/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-26-array-cast-0.c +++ /dev/null @@ -1,25 +0,0 @@ -/* { dg-do run } */ -/* { dg-options "-flto -fipa-type-escape-analysis -fdump-ipa-type-escape-analysis " } */ - -#include <assert.h> -#include <stdio.h> -#include <stddef.h> - -int -main (int argc, char **argv) -{ - struct astruct_s - { - _Bool a; - _Bool b; - _Bool c; - _Bool d; - }; - struct astruct_s a[2]; - struct astruct_s *a_0 = &(a[0]); - struct astruct_s *a_1 = a_0 + argc; - ptrdiff_t d = a_1 - a_0; - printf("%d %d %d\n", a_0->a, a_0->c, a_0->d); - printf("%d\n", d); - -} |