blob: 91801910bc307838c09218810e811c16db23e401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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));
}
|