Commit fa5866c0 by Jakub Jelinek

re PR lto/60567 (lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233…

re PR lto/60567 (lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 with -fno-use-linker-plugin)

	PR lto/60567
	* ipa.c (function_and_variable_visibility): Copy forced_by_abi flag from
	decl_node to node.

	* g++.dg/lto/pr60567_0.C: New test.

From-SVN: r209280
parent 8aa1cce6
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.
......
......@@ -1032,6 +1032,7 @@ function_and_variable_visibility (bool whole_program)
== 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.
......
// 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 &) {}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment