Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/coalesce-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-rtl-expand-details" } */
3
4 float total = 0.2;
5 void foo(int n)
6 {
7 int i;
8 for (i = 0; i < n; i++)
9 total += i;
10 }
11
12 /* Verify that out-of-ssa coalescing did its job by verifying there are not
13 any partition copies inserted. */
14
15 /* { dg-final { scan-rtl-dump-not "partition copy" "expand"} } */