This commit removes a spurious self-assignment that was preventing
building with clang.

Signed-off-by: Jose E. Marchesi <[email protected]>

gcc/algol68/ChangeLog

        PR algol68/122966
        * a68-low-clauses.cc (a68_lower_collateral_clause): Remove
        self-assignment.
---
 gcc/algol68/a68-low-clauses.cc | 1 -
 1 file changed, 1 deletion(-)

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);
-- 
2.30.2

Reply via email to