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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr34330.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target pthread } */
3
/* { dg-options "-ftree-parallelize-loops=4 -ftree-vectorize" } */
4
 
5
struct T
6
{
7
  int t;
8
  struct { short s1, s2, s3, s4; } *s;
9
};
10
 
11
void
12
foo (int *a, int *b, int *c, int *d, struct T *e)
13
{
14
  int i;
15
  for (i = 0; i < e->t; i++)
16
    {
17
      e->s[i].s1 = a[i];
18
      e->s[i].s2 = b[i];
19
      e->s[i].s3 = c[i];
20
      e->s[i].s4 = d[i];
21
    }
22
}

powered by: WebSVN 2.1.0

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