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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr19853.c] - Rev 12

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;
}
 

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.