OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [loop-7.c] - Rev 298

Compare with Previous | Blame | View Log

/* PR rtl-optimization/31360  */
 
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-options "-O1 -fdump-rtl-loop2_invariant" } */
 
void f(int *a)
{
  int i;
  for (i = 0;i<100;i++)
    a[i] = 0;
}
 
/* Load of 0 is moved out of the loop.  */
/* { dg-final { scan-rtl-dump-times "Decided" 1 "loop2_invariant" } } */
/* { dg-final { cleanup-rtl-dump "loop2_invariant" } } */
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.