]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/cmpexactdiv-5.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / cmpexactdiv-5.c
CommitLineData
9adfa8e2
MG
1/* { dg-do compile } */
2/* { dg-options "-O -fdump-tree-optimized-raw" } */
3
4int f(int *a, int *b, int *c){
5 if(sizeof(__SIZE_TYPE__) != sizeof(__PTRDIFF_TYPE__)) return 2;
6 __SIZE_TYPE__ s = b - a;
7 __SIZE_TYPE__ t = c - a;
8 return s < t;
9}
10
11/* { dg-final { scan-tree-dump-not "exact_div_expr" "optimized" } } */