aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorMikael Morin <mikael@gcc.gnu.org>2024-07-07 11:00:51 +0200
committerMikael Morin <mikael@gcc.gnu.org>2024-09-15 20:39:54 +0200
commitd204bee388d74a6895da15a1027a64a8c4ea4fbb (patch)
treed92f7a6f6f32ea111d9f235ea499b021e8071881 /gcc/cp
parenta9f9391e1eeccb9d062b9e73ef27ac577b23ed64 (diff)
downloadgcc-d204bee388d74a6895da15a1027a64a8c4ea4fbb.zip
gcc-d204bee388d74a6895da15a1027a64a8c4ea4fbb.tar.gz
gcc-d204bee388d74a6895da15a1027a64a8c4ea4fbb.tar.bz2
fortran: Remove useless nested end of scalarization chain handling
Remove the special handling of end of nested scalarization chains, which advanced the chain to an element of a parent chain when the current one was reaching its end. That handling was superfluous as nested chains correspond to nested scalarizations of subexpressions and the scalarizations don't extend beyond their associated subexpression and don't use any scalarisation element from the parent expression. No change of behaviour, as the GFC_SE struct is supposed to be in its final state anyway when the last element from the chain has been consumed. gcc/fortran/ChangeLog: * trans-expr.cc (gfc_advance_se_ss_chain): Don't use an element from the parent scalarization chain when the current chain reaches its end.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions