1 2 3 4 5 6 7 8 9
/* { dg-do compile } */ /* { dg-options "-fdump-tree-gimple -fwrapv" } */ #define ABS(x) (x > 0 ? x : -x) int f (int a) { return ABS (ABS(a)); } /* { dg-final { scan-tree-dump-times "ABS" 1 "gimple" } } */ /* { dg-final { cleanup-tree-dump "gimple" } } */