Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr66726.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-gimple" } */
3
4 extern unsigned short mode_size[];
5
6 int
7 oof (int mode)
8 {
9 return (64 < mode_size[mode] ? 64 : mode_size[mode]);
10 }
11
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" } } */
16