OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr37382.c] - Rev 302

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

/* PR target/37382 */
 
void baz (char *);
int c;
 
void
bar (void)
{
  char a[2];
  int *ip = &c;
  char *p = a, *q = (char *) &ip;
  const char *r = q + 2;
  for (; q != r; p++, q++)
    *p = *q;
  baz (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.