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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [931102-2.c] - Rev 774

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

typedef struct {
  int a;
} VCR;
 
typedef struct {
  VCR vcr[8];
} VCRC;
 
typedef struct {
  char vcr;
} OWN;
 
OWN Own[16];
 
f (x, own)
  VCRC *x;
  OWN *own;
{
  x[own->vcr / 8].vcr[own->vcr % 8].a--;
  x[own->vcr / 8].vcr[own->vcr % 8].a = x[own->vcr / 8].vcr[own->vcr % 8].a;
}
 

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

powered by: WebSVN 2.1.0

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