2 // { dg-options "-Os -fdump-tree-ch-details" }
4 extern unsigned int foo (int*) __attribute__((pure
));
7 tr2 (int array
[], int n
)
12 for (x
= 0; x
< n
; x
++)
13 sum
+= foo (&array
[x
]);
17 // { dg-final { scan-tree-dump-not "Not duplicating.*optimizing for size" "ch2" } }