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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr38338.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR middle-end/38338 */
2
/* { dg-options "-O0" } */
3
/* { dg-options "-O0 -fPIC" { target fpic } } */
4
 
5
typedef void (*fnp) (void);
6
 
7
static char
8
foo (char x)
9
{
10
  return x;
11
}
12
 
13
static void *
14
bar (char x)
15
{
16
  void *args = __builtin_apply_args ();
17
  return __builtin_apply ((fnp) foo, args, sizeof (void *));
18
}

powered by: WebSVN 2.1.0

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