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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr35526.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
// { dg-options "-fpermissive" }
3
// { dg-prune-output "narrowing" }
4
 
5
extern void *memcpy (void *__dest, __const void *__src, __SIZE_TYPE__  __n);
6
 
7
char internal_crash_read_ip[] = { 0xb8 };
8
 
9
struct u_internal_crash_read_t
10
{
11
  char ip[sizeof (internal_crash_read_ip)];
12
}
13
u_internal_crash_read;
14
 
15
void
16
gSignalHandler (int psignalNr, int pinfo, int pctx)
17
{
18
  memcpy (u_internal_crash_read.ip, internal_crash_read_ip,
19
          sizeof (internal_crash_read_ip));
20
}

powered by: WebSVN 2.1.0

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