https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113536

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Eric Botcazou
<[email protected]>:

https://gcc.gnu.org/g:0de19ba51b66913df1cf0f924fd616114dcb41b6

commit r14-12052-g0de19ba51b66913df1cf0f924fd616114dcb41b6
Author: Steve Baird <[email protected]>
Date:   Wed Feb 7 13:52:58 2024 -0800

    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/
            PR ada/113536
            * exp_attr.adb: Move computation of Accum_Typ entirely into the
            function Build_Stat.

Reply via email to