1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fdump-tree-optimized" } */ 3 4 static inline int max(int a,int b)5max (int a, int b) 6 { 7 return a < b ? b : a; 8 } 9 10 int test_00(int a)11test_00 (int a) 12 { 13 return max (a, a + 8); 14 } 15 16 int test_01(int a)17test_01 (int a) 18 { 19 return max (a, a - 8); 20 } 21 22 /* { dg-final { scan-tree-dump-not "MAX_EXPR" "optimized" } } */ 23