-2014-04-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
+2014-04-10 Jan Hubicka <hubicka@ucw.cz>
+ Jakub Jelinek <jakub@redhat.com>
- * fortran/class.c (gfc_build_class_symbol): Append "_t" to target class
- names to make the generated type names unique.
+ PR lto/60567
+ * ipa.c (function_and_variable_visibility): Copy forced_by_abi flag from
+ decl_node to node.
2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
+2014-04-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * class.c (gfc_build_class_symbol): Append "_t" to target class
+ names to make the generated type names unique.
+
2014-04-04 Tobias Burnus <burnus@net-b.de>
* check.c (gfc_check_cmplx): Fix typo.
== DECL_COMDAT_GROUP (decl_node->decl));
gcc_checking_assert (node->same_comdat_group);
}
+ node->forced_by_abi = decl_node->forced_by_abi;
if (DECL_EXTERNAL (decl_node->decl))
DECL_EXTERNAL (node->decl) = 1;
}
+2014-04-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR lto/60567
+ * g++.dg/lto/pr60567_0.C: New test.
+
2014-04-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gfortran.dg/class_nameclash.f90: New test.
--- /dev/null
+// PR lto/60567
+// { dg-lto-do link }
+// { dg-lto-options { { -flto -fno-use-linker-plugin } } }
+// { dg-extra-ld-options "-r -nostdlib" }
+
+#pragma implementation
+struct S {};
+
+#pragma interface
+struct T
+{
+ virtual void foo (const S &) = 0;
+};
+
+struct U
+{
+ virtual void bar (const S &) = 0;
+};
+
+struct V : public T, public U
+{
+ virtual void bar (const S &) {}
+};