comparison gcc/testsuite/gcc.dg/tree-ssa/pr66726.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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