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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20071214-1.c] - Rev 826

Compare with Previous | Blame | View Log

typedef __builtin_va_list va_list;
void gftp_config_parse_args (int numargs, char **first, ...)
{
  char **dest = first;
  va_list argp;
  __builtin_va_start (argp, first);
  while (numargs-- > 0)
    {
      *dest = __builtin_malloc (1);
      dest = __builtin_va_arg(argp, char **);
      *dest = ((void *)0);
    }
  __builtin_va_end(argp);
}
 
 

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.