OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [loop-7.c] - Blame information for rev 315

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR rtl-optimization/31360  */
2
 
3
/* { dg-do compile { target { powerpc*-*-* } } } */
4
/* { dg-options "-O1 -fdump-rtl-loop2_invariant" } */
5
 
6
void f(int *a)
7
{
8
  int i;
9
  for (i = 0;i<100;i++)
10
    a[i] = 0;
11
}
12
 
13
/* Load of 0 is moved out of the loop.  */
14
/* { dg-final { scan-rtl-dump-times "Decided" 1 "loop2_invariant" } } */
15
/* { dg-final { cleanup-rtl-dump "loop2_invariant" } } */
16
 

powered by: WebSVN 2.1.0

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