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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [noncompile/] [990416-1.c] - Rev 801

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

extern void *memcpy (void *, const void *, __SIZE_TYPE__);
typedef int word_type;
 
static void
copy_reg (unsigned int reg, frame_state *udata,	/* { dg-error "unknown type name" } */
	  frame_state *target_udata)	/* { dg-error "unknown type name" } */
{  
  word_type *preg = ge_reg_addr (reg, udata, 0);
  word_type *ptreg = ge_reg_addr (reg, target_udata, 0);
 
  memcpy (ptreg, preg, __builtin_dwarf_reg_size (reg));
}
 

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.