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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [update-cunroll-2.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
 
2
/* { dg-options "-O2 -fdump-tree-optimized-blocks" } */
3
int a[8];
4
__attribute__ ((noinline))
5
int t()
6
{
7
        int i;
8
        for (i = 0; i < 3; i++)
9
                if (a[i])
10
                        break;
11
        return i;
12
}
13
main ()
14
{
15
  int i;
16
  for (i = 0; i < 1000; i++)
17
    t ();
18
  return 0;
19
}
20
/* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */
21
/* { dg-final-use { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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