URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr35526.C] - Rev 320
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */
extern void *memcpy (void *__dest, __const void *__src, __SIZE_TYPE__ __n);
char internal_crash_read_ip[] = { 0xb8 };
struct u_internal_crash_read_t
{
char ip[sizeof (internal_crash_read_ip)];
}
u_internal_crash_read;
void
gSignalHandler (int psignalNr, int pinfo, int pctx)
{
memcpy (u_internal_crash_read.ip, internal_crash_read_ip,
sizeof (internal_crash_read_ip));
}
Go to most recent revision | Compare with Previous | Blame | View Log