2011-12-07 Richard Guenther <rguenther@suse.de>
PR lto/48100
* gcc.dg/lto/
20111207-1_0.c: New testcase.
* gcc.dg/lto/
20111207-1_1.c: Likewise.
* gcc.dg/lto/
20111207-1_2.c: Likewise.
* gcc.dg/lto/
20111207-1_3.c: Likewise.
From-SVN: r182082
+2011-12-07 Richard Guenther <rguenther@suse.de>
+
+ PR lto/48100
+ * gcc.dg/lto/20111207-1_0.c: New testcase.
+ * gcc.dg/lto/20111207-1_1.c: Likewise.
+ * gcc.dg/lto/20111207-1_2.c: Likewise.
+ * gcc.dg/lto/20111207-1_3.c: Likewise.
+
2011-12-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50823
--- /dev/null
+/* { dg-lto-do run } */
+/* { dg-lto-options { { -flto } } } */
+/* { dg-require-linker-plugin "" } */
+/* { dg-extra-ld-options "-fuse-linker-plugin" } */
--- /dev/null
+/* { dg-options "-fno-lto" } */
+
+int i;
--- /dev/null
+extern int i;
+
+int main()
+{
+ return i;
+}