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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20040306-1.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
/* This used to ICE due to a reload bug on s390*.  */
/* This used to ICE due to a reload bug on s390*.  */
 
 
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2" } */
 
 
 
 
typedef struct test
typedef struct test
{
{
  unsigned short pad;
  unsigned short pad;
  unsigned char type[6];
  unsigned char type[6];
} t;
} t;
 
 
extern void set (t *a, t *b, t *c, t *d, t *e, t *f, t *g, t *h,
extern void set (t *a, t *b, t *c, t *d, t *e, t *f, t *g, t *h,
                 t *i, t *j, t *k, t *l, t *m, t *n, t *o, t *p);
                 t *i, t *j, t *k, t *l, t *m, t *n, t *o, t *p);
extern void use (t a, t b, t c, t d, t e, t f, t g, t h,
extern void use (t a, t b, t c, t d, t e, t f, t g, t h,
                 t i, t j, t k, t l, t m, t n, t o, t p);
                 t i, t j, t k, t l, t m, t n, t o, t p);
void test (void)
void test (void)
{
{
    t a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p;
    t a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p;
    set (&a, &b, &c, &d, &e, &f, &g, &h, &i, &j, &k, &l, &m, &n, &o, &p);
    set (&a, &b, &c, &d, &e, &f, &g, &h, &i, &j, &k, &l, &m, &n, &o, &p);
    use (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p);
    use (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p);
}
}
 
 

powered by: WebSVN 2.1.0

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