fix PVS studio reported bugs
authorRichard Biener <rguenther@suse.de>
Fri, 17 Apr 2020 07:19:32 +0000 (09:19 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 17 Apr 2020 08:38:45 +0000 (10:38 +0200)
commita64468a3034dd8e2d0794a5be84b8da544ffe2c3
treeff3843bd25bd6f1d0aa8dd77132bf5f7bc8ca8e0
parentc41884a09206be0e21cad7eea71b9754daa969d4
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.
gcc/ChangeLog
gcc/cgraphclones.c
gcc/dwarf2out.c
gcc/optabs.c
gcc/tree-ssa-sccvn.c