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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [noncompile/] [990416-1.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
2
typedef int word_type;
3
 
4
static void
5
copy_reg (unsigned int reg, frame_state *udata, /* { dg-error "parse|syntax|expected" } */
6
          frame_state *target_udata)    /* { dg-error "expected" } */
7
{
8
  word_type *preg = get_reg_addr (reg, udata, 0);        /* { dg-error "undeclared|function|without a cast" } */
9
  word_type *ptreg = get_reg_addr (reg, target_udata, 0); /* { dg-error "undeclared|without a cast" } */
10
 
11
  memcpy (ptreg, preg, __builtin_dwarf_reg_size (reg));
12
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.