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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr29637.c] - Blame information for rev 455

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR tree-optimization/29637 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -ftree-vectorize" } */
4
 
5
typedef struct __attribute__ ((aligned (8)))
6
{
7
    short a, b, c, d;
8
} A;
9
 
10
typedef struct
11
{
12
  A a[24];
13
} B;
14
 
15
static const A b = { 0, 0, 1, -1 };
16
 
17
void
18
foo (B *x)
19
{
20
  int i;
21
  for (i = 0; i <= 20; i += 4)
22
    x->a[i] = b;
23
}

powered by: WebSVN 2.1.0

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