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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr23237.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
/* Don't assemble, as this section syntax may not be valid on all platforms
/* Don't assemble, as this section syntax may not be valid on all platforms
   (e.g., Darwin).  */
   (e.g., Darwin).  */
/* { dg-do compile } */
/* { dg-do compile } */
 
 
/* { dg-require-effective-target named_sections } */
/* { dg-require-effective-target named_sections } */
 
 
static __attribute__ ((__section__ (".init.data"))) char *message;
static __attribute__ ((__section__ (".init.data"))) char *message;
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
void unpack_to_rootfs(void)
void unpack_to_rootfs(void)
{
{
  while (!message)
  while (!message)
  {
  {
    if(!actions[0])
    if(!actions[0])
      return;
      return;
  }
  }
}
}
 
 

powered by: WebSVN 2.1.0

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