[gcc r16-5850] a68: remove self-assign in a68_lower_collateral_clause [PR algol68/122966]
Jose E. Marchesi
jemarch@gcc.gnu.org
Wed Dec 3 11:59:48 GMT 2025
https://gcc.gnu.org/g:002bc3ba8b721c714b3e0429791fa9b69002bec2
commit r16-5850-g002bc3ba8b721c714b3e0429791fa9b69002bec2
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Wed Dec 3 12:15:51 2025 +0100
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 <jemarch@gnu.org>
gcc/algol68/ChangeLog
PR algol68/122966
* a68-low-clauses.cc (a68_lower_collateral_clause): Remove
self-assignment.
Diff:
---
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 8cc81500b237..d36b4cc282ac 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);
More information about the Gcc-cvs
mailing list