From: Richard Biener Date: Tue, 26 Feb 2019 11:03:45 +0000 (+0000) Subject: re PR tree-optimization/89489 (ICE in gimple_duplicate_bb, at tree-cfg.c:6257) X-Git-Tag: basepoints/gcc-10~931 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=302fe7500a45d9dbe0cdb292f62d7dcbacff9b56;p=thirdparty%2Fgcc.git re PR tree-optimization/89489 (ICE in gimple_duplicate_bb, at tree-cfg.c:6257) 2019-02-26 Richard Biener PR tree-optimization/89489 * tree-parloops.c (create_loop_fn): Copy over last_clique. From-SVN: r269210 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 263cc7b5f112..0c961dd37d79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-02-26 Richard Biener + + PR tree-optimization/89489 + * tree-parloops.c (create_loop_fn): Copy over last_clique. + 2019-02-26 Eric Botcazou * tree-ssa-dom.c (edge_info::derive_equivalences) : Fix diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 5f3c2b59e87b..7124c5b1ab57 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. */