2011-08-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/47369
* gcc.dg/pr47369-1.c: New.
From-SVN: r177490
+2011-08-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/47369
+ * gcc.dg/pr47369-1.c: New.
+
2011-08-05 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/47364
--- /dev/null
+/* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
+/* { dg-options "-O2 -fPIC" } */
+
+struct FILE
+{
+ int x;
+};
+extern struct FILE __sF[];
+extern void bar (struct FILE *);
+void dlmalloc_stats() {
+ bar ((&__sF[2]));
+}