Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/cmpexactdiv-5.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized-raw" } */
3
4 int 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" } } */