Sat Feb 13 00:43:52 1999 Jeffrey A Law (law@cygnus.com)
+ * gcc.dg/990213-2.c: New test.
+
* gcc.dg/990213-1.c: New test.
Fri Feb 12 11:04:35 1999 Jeffrey A Law (law@cygnus.com)
--- /dev/null
+/* { dg-do compile { target i?86-*-* } } */
+/* { dg-options "-fPIC" } */
+
+struct normal_encoding {};
+struct unknown_encoding {};
+static const struct normal_encoding latin1_encoding = {};
+
+struct encoding*
+XmlInitUnknownEncoding(void *mem)
+{
+ int i;
+ struct unknown_encoding *e = mem;
+ for (i = 0; i < sizeof(struct normal_encoding); i++)
+ ((char *)mem)[i] = ((char *)&latin1_encoding)[i];
+}