PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr66726.c
blobe66d383c55b4694c635f67da21630aa9d2f64cf4
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple" } */
4 extern unsigned short mode_size[];
6 int
7 oof (int mode)
9 return (64 < mode_size[mode] ? 64 : mode_size[mode]);
12 /* With simplifications transforming cond_expr int min/max_expr
13 supported by match.pd patterns, we can optimize this at early
14 stage of compilation, rather than relying on phiopt for that. */
15 /* { dg-final { scan-tree-dump-times "MIN_EXPR" 1 "gimple" } } */