[Patch] OpenACC: Fix integer-type issue with collapse/tile [PR97880]

Tobias Burnus tobias@codesourcery.com
Fri Nov 27 10:22:03 GMT 2020


Now committed as r11-5489-gf324479caf0ac326534f4fcf72cb12991ccddb3d

Tobias

On 25.11.20 12:00, Tobias Burnus wrote:
> Here, the problem was that we were mixing types when calculating
> the product of loop-steps, each type was taken from the loop var.
>
> Solution: take the largest type as diff_type and use it everywhere.
>
> And add a missing 'fold_convert' to fix the actual ICE.
>
> Comments? If not, I will commit it later.
>
> Tobias
>
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter


More information about the Gcc-patches mailing list