From: Jose E. Marchesi Date: Wed, 3 Dec 2025 11:15:51 +0000 (+0100) Subject: a68: remove self-assign in a68_lower_collateral_clause [PR algol68/122966] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=002bc3ba8b721c714b3e0429791fa9b69002bec2;p=thirdparty%2Fgcc.git a68: remove self-assign in a68_lower_collateral_clause [PR algol68/122966] This commit removes a spurious self-assignment that was preventing building with clang. Signed-off-by: Jose E. Marchesi gcc/algol68/ChangeLog PR algol68/122966 * a68-low-clauses.cc (a68_lower_collateral_clause): Remove self-assignment. --- diff --git a/gcc/algol68/a68-low-clauses.cc b/gcc/algol68/a68-low-clauses.cc index 8cc81500b23..d36b4cc282a 100644 --- a/gcc/algol68/a68-low-clauses.cc +++ b/gcc/algol68/a68-low-clauses.cc @@ -1288,7 +1288,6 @@ a68_lower_collateral_clause (NODE_T *p ATTRIBUTE_UNUSED, // XXX should we make a copy of the sub_multiple_elements here? // We DO need to iterate slicing, because of strides: if // the sub_multiple is a trimmer. - sub_multiple_elements = sub_multiple_elements; tree sub_multiple_elements_type = TREE_TYPE (sub_multiple_elements); tree sub_multiple_num_elems = a68_multiple_num_elems (sub_multiple); tree sub_multiple_element_type = TREE_TYPE (sub_multiple_elements_type);