From: Richard Biener Date: Tue, 12 Nov 2019 12:12:18 +0000 (+0000) Subject: re PR tree-optimization/92460 (ICE: verify_ssa failed (error: definition in block... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41098a37444b69d7b3b3072fde52e2785bef7012;p=gcc.git re PR tree-optimization/92460 (ICE: verify_ssa failed (error: definition in block 13 does not dominate use in block 22)) 2019-11-12 Richard Biener PR tree-optimization/92460 * tree-vect-stmts.c (vectorizable_simd_clone_call): Unshare expression before gimplifying. From-SVN: r278094 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca125cf55ac..29641f09e7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-11-12 Richard Biener + + PR tree-optimization/92460 + * tree-vect-stmts.c (vectorizable_simd_clone_call): Unshare + expression before gimplifying. + 2019-11-12 Richard Biener PR tree-optimization/92461 diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index 1da949a7070..750af2e3dd0 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -4246,8 +4246,8 @@ vectorizable_simd_clone_call (stmt_vec_info stmt_info, { gimple_seq stmts; arginfo[i].op - = force_gimple_operand (arginfo[i].op, &stmts, true, - NULL_TREE); + = force_gimple_operand (unshare_expr (arginfo[i].op), + &stmts, true, NULL_TREE); if (stmts != NULL) { basic_block new_bb;