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.