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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr40753.c] - Rev 399

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

typedef struct {
    unsigned nargs;
} ffi_cif;
typedef struct {
    char tramp[24];
    ffi_cif *cif;
} ffi_closure;
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
extern void ffi_closure_LINUX64 (void);
 
int
ffi_prep_closure_loc (ffi_closure *closure, ffi_cif *cif)
{
  void **tramp = (void **) &closure->tramp[0];
 
  memcpy (tramp, (char *) ffi_closure_LINUX64, 16);
  closure->cif = cif;
 
  return 0;
}
 

Go to most recent revision | 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.