aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-parloops.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-02-26 11:03:45 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-02-26 11:03:45 +0000
commit302fe7500a45d9dbe0cdb292f62d7dcbacff9b56 (patch)
treeea36d64aef09a87c4c94e07936adb71abac5058d /gcc/tree-parloops.c
parentcf02f8a350498eed424aea4a2fff2cbfd646fd61 (diff)
downloadgcc-302fe7500a45d9dbe0cdb292f62d7dcbacff9b56.zip
gcc-302fe7500a45d9dbe0cdb292f62d7dcbacff9b56.tar.gz
gcc-302fe7500a45d9dbe0cdb292f62d7dcbacff9b56.tar.bz2
re PR tree-optimization/89489 (ICE in gimple_duplicate_bb, at tree-cfg.c:6257)
2019-02-26 Richard Biener <rguenther@suse.de> PR tree-optimization/89489 * tree-parloops.c (create_loop_fn): Copy over last_clique. From-SVN: r269210
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r--gcc/tree-parloops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c
index 5f3c2b5..7124c5b 100644
--- a/gcc/tree-parloops.c
+++ b/gcc/tree-parloops.c
@@ -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. */