[gomp4] correct a tile bug with combined loops in fortran
Cesar Philippidis
cesar@codesourcery.com
Thu Oct 6 03:14:00 GMT 2016
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.
Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gomp4-gfc-combined-tile.diff
Type: text/x-patch
Size: 6742 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161006/e1b4de1d/attachment.bin>
More information about the Fortran
mailing list