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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [loop-7.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 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.