libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / cmpexactdiv-3.c
blob57e280b5c8f1f9d58d3e7c5306ecace02c0f1c33
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized-raw" } */
4 int f(int*a,int*b){
5 if(sizeof(__SIZE_TYPE__)!=sizeof(__PTRDIFF_TYPE__)) return -1;
6 __SIZE_TYPE__ d = b - a;
7 return d >= 5;
10 /* { dg-final { scan-tree-dump-not "exact_div_expr" "optimized" } } */