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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr29637.c] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
/* PR tree-optimization/29637 */
/* PR tree-optimization/29637 */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize" } */
/* { dg-options "-O2 -ftree-vectorize" } */
 
 
typedef struct __attribute__ ((aligned (8)))
typedef struct __attribute__ ((aligned (8)))
{
{
    short a, b, c, d;
    short a, b, c, d;
} A;
} A;
 
 
typedef struct
typedef struct
{
{
  A a[24];
  A a[24];
} B;
} B;
 
 
static const A b = { 0, 0, 1, -1 };
static const A b = { 0, 0, 1, -1 };
 
 
void
void
foo (B *x)
foo (B *x)
{
{
  int i;
  int i;
  for (i = 0; i <= 20; i += 4)
  for (i = 0; i <= 20; i += 4)
    x->a[i] = b;
    x->a[i] = b;
}
}
 
 

powered by: WebSVN 2.1.0

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