Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/cmpexactdiv-5.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-optimized-raw" } */ int f(int *a, int *b, int *c){ if(sizeof(__SIZE_TYPE__) != sizeof(__PTRDIFF_TYPE__)) return 2; __SIZE_TYPE__ s = b - a; __SIZE_TYPE__ t = c - a; return s < t; } /* { dg-final { scan-tree-dump-not "exact_div_expr" "optimized" } } */