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/] [pr19853.c] - Rev 297

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

struct test { int *x; } global_test;
int global_int;
 
int flag;
 
void test (char *dummy)
{
  static const struct test const_test = { &global_int };
  struct test local_test;
 
  int i;
  for (i = 0; i < 1; i++)
    *dummy = 0;
  if (flag)
    __builtin_memset (dummy, 0, 16);
 
  local_test = const_test;
  global_test = local_test;
}
 

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.