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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [990213-2.c] - Blame information for rev 867

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

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

powered by: WebSVN 2.1.0

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