[Patch, Fortran] PR64771 - Fix coarray ICE

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Jan 25 08:52:00 GMT 2015


On Sat, Jan 24, 2015 at 06:13:04PM +0100, Tobias Burnus wrote:
>        if (s1->as->type == AS_EXPLICIT)
> -	for (i = 0; i < s1->as->rank + s1->as->corank; i++)
> +	for (i = 0; i < s1->as->rank + std::max(0, s1->as->corank-1); i++)

Doesn't this require '#include <algorithms>'?
I suspect that you are depending on namespace pollution
via some other header (coretypes.h?).

-- 
Steve



More information about the Gcc-patches mailing list