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

Subversion Repositories openrisc

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

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.