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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [990213-2.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target fpic } */
3
/* { dg-options "-fPIC" } */
4
 
5
struct normal_encoding {};
6
struct unknown_encoding {};
7
static const struct normal_encoding latin1_encoding = {};
8
 
9
struct encoding*
10
XmlInitUnknownEncoding(void *mem)
11
{
12
  int i;
13
  struct unknown_encoding *e = mem;
14
  for (i = 0; i < sizeof(struct normal_encoding); i++)
15
    ((char *)mem)[i] = ((char *)&latin1_encoding)[i];
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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