https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83017

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Nov 17 13:15:34 2017
New Revision: 254867

URL: https://gcc.gnu.org/viewcvs?rev=254867&root=gcc&view=rev
Log:
2017-11-17  Richard Biener  <rguent...@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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi
    trunk/gcc/params.def
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/autopar/pr49960.c
    trunk/gcc/tree-parloops.c

Reply via email to