From 682820ccf9880204310cef67a7bfb2f9923bb702 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 4 Jan 2018 11:54:02 -0700 Subject: [PATCH] tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove redundant test in assertion. * tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove redundant test in assertion. From-SVN: r256260 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-math-opts.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4321eb0312..26d9210a1b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-04 Jeff Law + + * tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove + redundant test in assertion. + 2018-01-04 Richard Sandiford * doc/rtl.texi: Document machine_mode wrapper classes. diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 9098188e988..ea880c7b1d8 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -544,8 +544,7 @@ execute_cse_reciprocals_1 (gimple_stmt_iterator *def_gsi, tree def) int square_recip_count = 0; int sqrt_recip_count = 0; - gcc_assert (FLOAT_TYPE_P (TREE_TYPE (def)) && is_gimple_reg (def) - && TREE_CODE (def) == SSA_NAME); + gcc_assert (FLOAT_TYPE_P (TREE_TYPE (def)) && TREE_CODE (def) == SSA_NAME); threshold = targetm.min_divisions_for_recip_mul (TYPE_MODE (TREE_TYPE (def))); /* If DEF is a square (x * x), count the number of divisions by x. -- 2.30.2