aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2025-08-21 14:20:51 -0700
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-09-11 11:10:49 +0200
commit571088f4d662d807eaa09bd4b03570e0ebb50495 (patch)
tree1a19ebc33dfa1272f1f458ccafcf910822c93201 /libjava/classpath
parentb69dbe06f91248457e7b532d5c8fffc4f73b1f76 (diff)
downloadgcc-571088f4d662d807eaa09bd4b03570e0ebb50495.zip
gcc-571088f4d662d807eaa09bd4b03570e0ebb50495.tar.gz
gcc-571088f4d662d807eaa09bd4b03570e0ebb50495.tar.bz2
ada: Perform predicate check before, not after, parameter copy back.
In the case of a call to a subprogram that has an out (or in-out) parameter that is passed by copy, the caller performs copy-back after the call returns. If the actual parameter is a view conversion to a subtype that has an enabled predicate, then the predicate check performed at that point should be performed before, not after, the operand of the view conversion is updated. gcc/ada/ChangeLog: * exp_ch6.adb (Expand_Actuals): After building the tree for a predicate check, call Prepend_To instead of Append_To so that the check is performed before, instead of after, the corresponding parameter copy-back.
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions