diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/ipa/ipa-structreorg-47-constructor-0.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/ipa-structreorg-47-constructor-0.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-47-constructor-0.c b/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-47-constructor-0.c index 28d18a54957..9dff8a46e95 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-47-constructor-0.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-structreorg-47-constructor-0.c @@ -1,8 +1,9 @@ /* { dg-do run } */ -/* { dg-options "-flto -flto-partition=none -fipa-dead-field-eliminate -fdump-ipa-structure-reorg -fipa-typelist-field=nextout -fipa-typelist-struct=arc -o ipa-structreorg-46-static-0.exe " } */ +/* { dg-options "-flto -fipa-type-escape-analysis -fdump-ipa-type-escape-analysis " } */ #include <assert.h> #include <stddef.h> +#include <stdio.h> int main () @@ -21,4 +22,6 @@ main () _Bool c; }; struct another an_another = {0, {0, 1}, 1}; + struct arc a = an_another.d; + printf("%d %d %d %d %d", an_another.a, &a, a.a, a.c, an_another.c); } |