Skip to content
Snippets Groups Projects
Commit d9f3a1d6 authored by Steve Baird's avatar Steve Baird Committed by Marc Poulhiès
Browse files

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.
parent b2453909
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment