[gomp4] correct a tile bug with combined loops in fortran

Nathan Sidwell nathan@codesourcery.com
Thu Oct 6 10:16:00 GMT 2016


On 10/05/16 23:14, Cesar Philippidis wrote:
> Nathan spotted a bug where the fortran FE wasn't lowering the tile
> clause properly in combined parallel/kernels loops. The problem was that
> gfc_trans_omp_d has two sources of clauses, code->ext.omp_clauses and
> do_clauses. Because of the way that the fortran FE splits combined
> loops, the tile clause is only associated with do_clauses. This patch
> teaches gfc_trans_omp_do to check for the tile clause in both code and
> do_clauses.
>
> I've applied this patch to gomp-4_0-branch.


thanks!


-- 
Nathan Sidwell



More information about the Gcc-patches mailing list