diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2012-08-20 14:13:16 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2012-08-20 14:13:16 +0000 |
commit | eb83633a818fcc4c568d633d7ddbac078d2fc1fe (patch) | |
tree | de062ea39894b89e78b9f2337a6d089aa66e28e8 /gcc/tree-ssa-math-opts.c | |
parent | 7ab6a8280170732268c190fffb7f522c73f7b800 (diff) | |
download | gcc-eb83633a818fcc4c568d633d7ddbac078d2fc1fe.zip gcc-eb83633a818fcc4c568d633d7ddbac078d2fc1fe.tar.gz gcc-eb83633a818fcc4c568d633d7ddbac078d2fc1fe.tar.bz2 |
re PR tree-optimization/54295 (Widening multiply-accumulate operation uses wrong value extension)
PR tree-ssa/54295
* tree-ssa-math-opts.c (is_widening_mult_rhs_p): Delete rhs_code
declaration and setter.
From-SVN: r190534
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
-rw-r--r-- | gcc/tree-ssa-math-opts.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 748bf2f..c3392fb 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -2011,14 +2011,12 @@ is_widening_mult_rhs_p (tree type, tree rhs, tree *type_out, { gimple stmt; tree type1, rhs1; - enum tree_code rhs_code; if (TREE_CODE (rhs) == SSA_NAME) { stmt = SSA_NAME_DEF_STMT (rhs); if (is_gimple_assign (stmt)) { - rhs_code = gimple_assign_rhs_code (stmt); if (! widening_mult_conversion_strippable_p (type, stmt)) rhs1 = rhs; else |