From: Richard Biener Date: Fri, 17 May 2019 08:15:46 +0000 (+0000) Subject: ccmp.c (expand_ccmp_expr_1): Do not use gimple_assign_rhs_to_tree. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8666d8bdeab4504987894785645cb33b84c10207;p=gcc.git ccmp.c (expand_ccmp_expr_1): Do not use gimple_assign_rhs_to_tree. 2019-05-17 Richard Biener * ccmp.c (expand_ccmp_expr_1): Do not use gimple_assign_rhs_to_tree. From-SVN: r271315 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c65bea6051..07ada3ba78d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-05-17 Richard Biener + + * ccmp.c (expand_ccmp_expr_1): Do not use gimple_assign_rhs_to_tree. + 2019-05-17 Martin Liska PR driver/90496 diff --git a/gcc/ccmp.c b/gcc/ccmp.c index ee8e4787684..c92fc3d5261 100644 --- a/gcc/ccmp.c +++ b/gcc/ccmp.c @@ -187,12 +187,11 @@ expand_ccmp_next (tree op, tree_code code, rtx prev, static rtx expand_ccmp_expr_1 (gimple *g, rtx_insn **prep_seq, rtx_insn **gen_seq) { - tree exp = gimple_assign_rhs_to_tree (g); - tree_code code = TREE_CODE (exp); + tree_code code = gimple_assign_rhs_code (g); basic_block bb = gimple_bb (g); - tree op0 = TREE_OPERAND (exp, 0); - tree op1 = TREE_OPERAND (exp, 1); + tree op0 = gimple_assign_rhs1 (g); + tree op1 = gimple_assign_rhs2 (g); gimple *gs0 = get_gimple_for_ssa_name (op0); gimple *gs1 = get_gimple_for_ssa_name (op1); rtx tmp;