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] - Rev 154

Compare with Previous | Blame | View Log

/* This testcase ICEd on x86-64 because LABEL_REF + small const was not
   considered as local_symbolic_operand.  */
/* { dg-do compile { target fpic } } */
/* { dg-options "-O2 -fpic" } */
 
typedef __builtin_va_list va_list;
 
static unsigned int
foo (void *a, float b, const char *c, va_list d, void *e)
{
  return -1;
}
 
unsigned int
bar (void *a, float b, const char *c, ...)
{
  va_list args;
  unsigned int d;
 
  __builtin_stdarg_start (args, c);
  d = foo (a, b, c, args, a);
  __builtin_va_end (args);
  return d;
}
 

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.