re PR fortran/83017 (DO CONCURRENT not parallelizing)
authorRichard Biener <rguenther@suse.de>
Fri, 17 Nov 2017 13:15:34 +0000 (13:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 17 Nov 2017 13:15:34 +0000 (13:15 +0000)
commita851ce04f7050dd82aa8344e7b68ee8319fb7b6f
tree4a4b34f1bfe2b59fb26c4e2471c1fff2655af4f4
parente716496a557f48cfdf7adb35f5be4e0945bd66e8
re PR fortran/83017 (DO CONCURRENT not parallelizing)

2017-11-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/83017
* tree-parloops.c (MIN_PER_THREAD): Use --param parloops-min-per-thread.
(gen_parallel_loop): Properly count iterations.
(parallelize_loops): Handle loop->can_be_parallel independent
of flag_loop_parallelize_all.  Make static profitability test match
the runtime one.
* params.def (PARAM_PARLOOPS_MIN_PER_THREAD): New.
* invoke.texi (parloops-min-per-thread): Document.

* gcc.dg/autopar/pr49960.c: Adjust.

From-SVN: r254867
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr49960.c
gcc/tree-parloops.c