Boostrapped / tested on x86_64-unknown-linux-gnu, applied.

Richard.

2019-02-26  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/89489
        * tree-parloops.c (create_loop_fn): Copy over last_clique.

Index: gcc/tree-parloops.c
===================================================================
--- gcc/tree-parloops.c (revision 269205)
+++ gcc/tree-parloops.c (working copy)
@@ -1498,6 +1498,7 @@ create_loop_fn (location_t loc)
   DECL_ARGUMENTS (decl) = t;
 
   allocate_struct_function (decl, false);
+  DECL_STRUCT_FUNCTION (decl)->last_clique = act_cfun->last_clique;
 
   /* The call to allocate_struct_function clobbers CFUN, so we need to restore
      it.  */

Reply via email to