diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2018-10-12 04:40:17 +0200 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-10-11 20:40:17 -0600 |
commit | 97ae2126cac5a3aa2fbfa86954c08b463e1e3c6c (patch) | |
tree | 43ea021d976202e6d149826f312d0d963ab74b95 /gcc/cgraphclones.c | |
parent | bf142d157096d4a5eb3e327ae7e4ffed7147d7b8 (diff) | |
download | gcc-97ae2126cac5a3aa2fbfa86954c08b463e1e3c6c.zip gcc-97ae2126cac5a3aa2fbfa86954c08b463e1e3c6c.tar.gz gcc-97ae2126cac5a3aa2fbfa86954c08b463e1e3c6c.tar.bz2 |
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
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r-- | gcc/cgraphclones.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index 2af45bd..189cb31 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -968,6 +968,8 @@ cgraph_node::create_version_clone_with_body SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl)); 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. */ DECL_STATIC_CONSTRUCTOR (new_decl) = 0; DECL_STATIC_DESTRUCTOR (new_decl) = 0; |