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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr46052.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
int i;
4
int a[2];
5
 
6
static inline char bar (void)
7
{
8
  return i ? i : 1;
9
}
10
 
11
void foo (int n)
12
{
13
  while (n--)
14
    {
15
      a[0] ^= bar ();
16
      a[1] ^= bar ();
17
    }
18
}
19
 
20
static inline char bar1 (void)
21
{
22
}
23
 
24
void foo1 (int n)
25
{
26
  while (n--)
27
    {
28
      a[0] ^= bar1 ();
29
      a[1] ^= bar1 ();
30
    }
31
}
32
 
33
/* { 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.