view gcc/testsuite/gcc.dg/tree-ssa/coalesce-2.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-O2 -fdump-rtl-expand-details" } */

float total = 0.2;
void foo(int n)
{
  int i;
  for (i = 0; i < n; i++)
    total += i;
}

/* Verify that out-of-ssa coalescing did its job by verifying there are not
   any partition copies inserted.  */

/* { dg-final { scan-rtl-dump-not "partition copy" "expand"} } */