[RFC] Fix for autopar

Sebastian Pop sebpop@gmail.com
Wed Jan 9 03:32:00 GMT 2008


On Jan 8, 2008 6:05 PM, Zdenek Dvorak <rakdver@kam.mff.cuni.cz> wrote:
>
> this should probably be in gen_parallel_loop, just after scev_reset
> call.

The attached patch does that, and fixes the problem without
invalidating the information for all the loops.  Thanks for the
suggestion.  I'm going to test this later on.  I still have two
problems with autopar on amd64-linux for getting the spec2006 working
without crashing the compiler.  These are in expand to RTL, in
epxr.c:3366, and in explow.c:621.  I'm still trying to figure out
how to fix these two.

Sebastian

Index: tree-parloops.c
===================================================================
--- tree-parloops.c	(revision 131401)
+++ tree-parloops.c	(working copy)
@@ -1695,6 +1695,7 @@
     create_call_for_reduction (loop, reduction_list, &clsn_data);

   scev_reset ();
+  free_numbers_of_iterations_estimates_loop (parallel_head->loop_father);

   /* Cancel the loop (it is simpler to do it here rather than to teach the
      expander to do it).  */



More information about the Gcc-patches mailing list