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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr23237.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
/* Don't assemble, as this section syntax may not be valid on all platforms
2
   (e.g., Darwin).  */
3
/* { dg-do compile } */
4
 
5
/* { dg-require-effective-target named_sections } */
6
 
7
static __attribute__ ((__section__ (".init.data"))) char *message;
8
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
9
void unpack_to_rootfs(void)
10
{
11
  while (!message)
12
  {
13
    if(!actions[0])
14
      return;
15
  }
16
}

powered by: WebSVN 2.1.0

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