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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [no-scevccp-pr49199.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
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
 
4
int const_bar (void) __attribute__ ((__const__));
5
int pure_bar (void) __attribute__ ((__pure__));
6
 
7
int foo (void)
8
{
9
  int i = 0, x = 0;
10
  for (; i < 100; i++)
11
    {
12
        x += const_bar ();
13
        x += pure_bar ();
14
    }
15
  return x;
16
}
17
 
18
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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