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

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


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

--- Comment #2 from vries at gcc dot gnu.org ---
Another way of dealing with this is to add a TODO_nodump or TODO_earlyout:
...
@@ -2395,7 +2408,7 @@ unsigned
 pass_parallelize_loops::execute (function *fun)
 {
   if (number_of_loops (fun) <= 1)
-    return 0;
+    return TODO_earlyout;

   if (parallelize_loops ())
     {
...
and handle that appropriately in the pass manager.



More information about the Gcc-bugs mailing list