]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/interposition.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / interposition.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-O1 -fno-semantic-interposition -fdump-tree-optimized -fPIC" } */
4 int t(void)
5 {
6 return 1;
7 }
8 int q(void)
9 {
10 return t();
11 }
12 /* { dg-final { scan-tree-dump-times "return 1" 2 "optimized"} } */