[Bug tree-optimization/65488] New: parloops runs for functions it doesn't process

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 20 10:01:00 GMT 2015


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

            Bug ID: 65488
           Summary: parloops runs for functions it doesn't process
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

parloops has a gate function to decide when to run.

However, there are also a bunch of early-out tests outside the gate that also
act as a gate:
- !parallelized_function_p (fun->decl)
- !fun->has_nonlocal_label
- number_of_loops (fun) > 1)

For the functions where the gate passes, but the early-out test fail, the pass
is not really run, but we still do the whole pass setup and dump the function
to dump_file.



More information about the Gcc-bugs mailing list