]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/upcast-1.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / upcast-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
3
4 typedef struct { int i; } Foo;
5 Foo foo;
6 Foo *bar(void)
7 {
8 return (Foo *)&foo.i;
9 }
10
11 /* { dg-final { scan-tree-dump "&foo;" "gimple" } } */