aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-pattern.h
diff options
context:
space:
mode:
authorMikael Morin <morin-mikael@orange.fr>2025-08-05 14:58:02 +0200
committerMikael Morin <mikael@gcc.gnu.org>2025-08-05 22:35:07 +0200
commit0634bd56978478c567a29841b6f99ac7050764e6 (patch)
treecb3b37e1fa51010b38fd9c260a66d80a4d80ae01 /gcc/rust/hir/tree/rust-hir-pattern.h
parent8d2e44fa19959e8452d500f264f4c96e13ec3617 (diff)
downloadgcc-0634bd56978478c567a29841b6f99ac7050764e6.zip
gcc-0634bd56978478c567a29841b6f99ac7050764e6.tar.gz
gcc-0634bd56978478c567a29841b6f99ac7050764e6.tar.bz2
fortran: Remove array bound update after constructor expansion
The array constructor expansion extends the size of the array dynamically, and sets the upper bound appropriately every time it does. There is no need to do it again at the end of expansion. gcc/fortran/ChangeLog: * trans-array.cc (trans_array_constructor): Remove the update of the array descriptor upper bound after array constructor expansion.
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-pattern.h')
0 files changed, 0 insertions, 0 deletions