Commit 97ae2126 by Jan Hubicka Committed by Jeff Law

re PR target/87156 (ICE building libstdc++ for mips64)

	PR target/87156
	* cgraphclones.c (cgraph_node::create_version_clone_with_body):
	Set new_decl virtual flag to zero.

From-SVN: r265074
parent bf142d15
2018-10-11 Jan Hubicka <hubicka@ucw.cz>
PR target/87156
* cgraphclones.c (cgraph_node::create_version_clone_with_body):
Set new_decl virtual flag to zero.
2018-10-11 Martin Sebor <msebor@redhat.com> 2018-10-11 Martin Sebor <msebor@redhat.com>
PR middle-end/87593 PR middle-end/87593
...@@ -968,6 +968,8 @@ cgraph_node::create_version_clone_with_body ...@@ -968,6 +968,8 @@ cgraph_node::create_version_clone_with_body
SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl)); SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl));
SET_DECL_RTL (new_decl, NULL); SET_DECL_RTL (new_decl, NULL);
DECL_VIRTUAL_P (new_decl) = 0;
/* When the old decl was a con-/destructor make sure the clone isn't. */ /* When the old decl was a con-/destructor make sure the clone isn't. */
DECL_STATIC_CONSTRUCTOR (new_decl) = 0; DECL_STATIC_CONSTRUCTOR (new_decl) = 0;
DECL_STATIC_DESTRUCTOR (new_decl) = 0; DECL_STATIC_DESTRUCTOR (new_decl) = 0;
......
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