@@ -1,3 +1,8 @@
+2020-07-30 Julian Brown <julian@codesourcery.com>
+
+ * config/gcn/gcn-tree.c (gcn_goacc_reduction_teardown): Remove useless
+ temporary variable "decl".
+
2020-07-17 Andrew Stubbs <ams@codesourcery.com>
Backport from mainline (42b47dae498):
@@ -603,9 +603,7 @@ gcn_goacc_reduction_teardown (gcall *call)
/* Read the worker reduction buffer. */
tree offset = gimple_call_arg (call, 5);
- tree decl
- = gcn_goacc_get_worker_red_decl (var_type, TREE_INT_CST_LOW (offset));
- var = decl;
+ var = gcn_goacc_get_worker_red_decl (var_type, TREE_INT_CST_LOW (offset));
}
if (level != GOMP_DIM_GANG)