aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2024-02-07 13:52:58 -0800
committerMarc Poulhiès <poulhies@adacore.com>2024-05-14 10:19:52 +0200
commitd9f3a1d612eacc35027bc5ca42b0ee29b554306a (patch)
tree64f51179af0dc485ff4534201dd6483c7fe38f16 /gcc/expr.cc
parentb2453909f68aa3e6810e4995bdcb0a555aab3902 (diff)
downloadgcc-d9f3a1d612eacc35027bc5ca42b0ee29b554306a.zip
gcc-d9f3a1d612eacc35027bc5ca42b0ee29b554306a.tar.gz
gcc-d9f3a1d612eacc35027bc5ca42b0ee29b554306a.tar.bz2
ada: Error in determining accumulator subtype for a reduction expression
There was an earlier bug in determining the accumulator subtype for a reduction expression in the case where the reducer subprogram is overloaded. The fix for that bug introduced a recently-discovered regression. Redo accumulator subtype computation in order to address this regression while preserving the benefits of the earlier fix. gcc/ada/ * exp_attr.adb: Move computation of Accum_Typ entirely into the function Build_Stat.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions