[patch, fortran] Remove parallell annotation from DO CONCURRENT
Thomas Koenig
tkoenig@netcologne.de
Thu Apr 12 21:14:00 GMT 2018
Well, here's a variation which actually passes regression-test.
Seems I implicitly believed that the implicit save on main program
variables actually works... well, it turns out that it doesn't,
which is now PR85364.
OK for trunk?
Thomas
2018-04-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/83064
PR testsuite/85346
* trans-stmt.c (gfc_trans_forall_loop): Use annot_expr_ivdep_kind
for annotation and remove dependence on -ftree-parallelize-loops.
2018-04-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/83064
PR testsuite/85346
* gfortran.dg/do_concurrent_5.f90: Dynamically allocate main work
array and move test to libgomp/testsuite/libgomp.fortran.
* gfortran.dg/do_concurrent_6.f90: New test.
2018-04-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/83064
PR testsuite/85346
* testsuite/libgomp.fortran: Move modified test from gfortran.dg
to here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p6.diff
Type: text/x-patch
Size: 949 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180412/2c564d6a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_concurrent_5.f90
Type: text/x-fortran
Size: 2171 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180412/2c564d6a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do_concurrent_6.f90
Type: text/x-fortran
Size: 292 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180412/2c564d6a/attachment-0002.bin>
More information about the Fortran
mailing list