1 /* { dg-do compile } */ 2 /* { dg-options "-fdump-tree-original" } */ 3 bar(long i)4long bar (long i) 5 { 6 return (long)((unsigned long)i + 2) - (long)i; 7 } foo(int i)8long foo (int i) 9 { 10 return (long)((unsigned long)i + 2) - (long)i; 11 } 12 13 /* { dg-final { scan-tree-dump-times "return 2;" 2 "original" } } */ 14