diff mbox series

Fix PR89489

Message ID alpine.LSU.2.20.1902261202330.23386@zhemvz.fhfr.qr
State New
Headers show
Series Fix PR89489 | expand

Commit Message

Richard Biener Feb. 26, 2019, 11:02 a.m. UTC
Boostrapped / tested on x86_64-unknown-linux-gnu, applied.

Richard.

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

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

Patch

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.  */