1 /* { dg-do compile } */ 2 /* { dg-options "-fdump-tree-original" } */ 3 test1(int a,int b)4int test1 (int a, int b) 5 { 6 return a - b == a; 7 } test2(int a,int b)8int test2 (int a, int b) 9 { 10 return a + b == a; 11 } test3(int a)12int test3 (int a) 13 { 14 return a + 5 == a; 15 } test4(int a)16int test4 (int a) 17 { 18 return a - 5 == a; 19 } 20 21 /* { dg-final { scan-tree-dump-times "b == 0" 2 "original" } } */ 22 /* { dg-final { scan-tree-dump-times "return 0" 2 "original" } } */ 23