aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-04-17 09:19:32 +0200
committerRichard Biener <rguenther@suse.de>2020-04-17 10:38:45 +0200
commita64468a3034dd8e2d0794a5be84b8da544ffe2c3 (patch)
treeff3843bd25bd6f1d0aa8dd77132bf5f7bc8ca8e0 /gcc/cgraphclones.c
parentc41884a09206be0e21cad7eea71b9754daa969d4 (diff)
downloadgcc-a64468a3034dd8e2d0794a5be84b8da544ffe2c3.zip
gcc-a64468a3034dd8e2d0794a5be84b8da544ffe2c3.tar.gz
gcc-a64468a3034dd8e2d0794a5be84b8da544ffe2c3.tar.bz2
fix PVS studio reported bugs
2020-04-17 Richard Biener <rguenther@suse.de> PR other/94629 * cgraphclones.c (cgraph_node::create_clone): Remove duplicate initialization. * dwarf2out.c (dw_val_equal_p): Fix pasto in dw_val_class_vms_delta comparison. * optabs.c (expand_binop_directly): Fix pasto in commutation check. * tree-ssa-sccvn.c (vn_reference_lookup_pieces): Fix pasto in initialization.
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r--gcc/cgraphclones.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
index 8f541a2..e4f1c1d 100644
--- a/gcc/cgraphclones.c
+++ b/gcc/cgraphclones.c
@@ -404,7 +404,6 @@ cgraph_node::create_clone (tree new_decl, profile_count prof_count,
new_node->tp_first_run = tp_first_run;
new_node->tm_clone = tm_clone;
new_node->icf_merged = icf_merged;
- new_node->merged_comdat = merged_comdat;
new_node->thunk = thunk;
new_node->unit_id = unit_id;
new_node->merged_comdat = merged_comdat;