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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20021023-1.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* This testcase ICEd on x86-64 because LABEL_REF + small const was not
2
   considered as local_symbolic_operand.  */
3
/* { dg-do compile { target fpic } } */
4
/* { dg-options "-O2 -fpic" } */
5
 
6
typedef __builtin_va_list va_list;
7
 
8
static unsigned int
9
foo (void *a, float b, const char *c, va_list d, void *e)
10
{
11
  return -1;
12
}
13
 
14
unsigned int
15
bar (void *a, float b, const char *c, ...)
16
{
17
  va_list args;
18
  unsigned int d;
19
 
20
  __builtin_stdarg_start (args, c);
21
  d = foo (a, b, c, args, a);
22
  __builtin_va_end (args);
23
  return d;
24
}

powered by: WebSVN 2.1.0

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