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/] [noncompile/] [990416-1.c] - Rev 154

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 "parse|syntax|expected" } */
	  frame_state *target_udata)	/* { dg-error "expected" } */
{  
  word_type *preg = get_reg_addr (reg, udata, 0);	/* { dg-error "undeclared|function|without a cast" } */
  word_type *ptreg = get_reg_addr (reg, target_udata, 0); /* { dg-error "undeclared|without a cast" } */
 
  memcpy (ptreg, preg, __builtin_dwarf_reg_size (reg));
}
 

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.