diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-30 15:36:05 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-30 15:36:05 +0000 |
commit | 2a2d01bbba41f13b47a772ad118d1041e4798f8e (patch) | |
tree | 138ab18df255eae4e18cb747ac189b901263aeae /gcc/convert.c | |
parent | df096f7ad110117ceba25f889d3dd81ae947bc7c (diff) | |
download | gcc-2a2d01bbba41f13b47a772ad118d1041e4798f8e.tar.gz |
2014-10-30 Richard Biener <rguenther@suse.de>
* genmatch.c (capture_info::walk_c_expr): Ignore capture
uses inside TREE_TYPE ().
* gimple-ssa-strength-reduction.c (stmt_cost): Use CASE_CONVERT.
(find_candidates_dom_walker::before_dom_children): Likewise.
(replace_mult_candidate): Use CONVERT_EXPR_CODE_P.
(replace_profitable_candidates): Likewise.
* tree-ssa-dom.c (initialize_hash_element): Canonicalize
CONVERT_EXPR_CODE_P to CONVERT_EXPR.
* convert.c (convert_to_integer): Use CASE_CONVERT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216939 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index 9ef27f6347f..07e2d75e5ee 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -831,7 +831,7 @@ convert_to_integer (tree type, tree expr) TREE_OPERAND (expr, 0)))); } - case NOP_EXPR: + CASE_CONVERT: /* Don't introduce a "can't convert between vector values of different size" error. */ if (TREE_CODE (TREE_TYPE (TREE_OPERAND (expr, 0))) == VECTOR_TYPE |