]> gcc.gnu.org Git - gcc.git/commit - gcc/gimple.cc
gimple.c (gimple_assign_copy_p): Use gimple_assign_single_p.
authorRichard Guenther <rguenther@suse.de>
Sat, 27 Nov 2010 14:32:47 +0000 (14:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 27 Nov 2010 14:32:47 +0000 (14:32 +0000)
commit3dbe9454540ab183476df93e6ef8eab50fbb13b5
tree2ef7f1febc0aea12d3964123c22645dfb8cb316b
parentd3b8263e201b728fd6f9a4e418b9d4f3c477ae99
gimple.c (gimple_assign_copy_p): Use gimple_assign_single_p.

2010-11-27  Richard Guenther  <rguenther@suse.de>

* gimple.c (gimple_assign_copy_p): Use gimple_assign_single_p.
(gimple_assign_ssa_name_copy_p): Likewise.
(gimple_assign_unary_nop_p): Use is_gimple_assign.
(is_gimple_cast): Remove.
(gimple_assign_single_p): Move ...
* gimple.h (gimple_assign_single_p): ... here.
(is_gimple_cast): Remove.
(gimple_assign_rhs_code): Simplify.
* gimple-fold.c (gimple_fold_builtin): Use CONVERT_EXPR_P
instead of is_gimple_cast.
* ipa-type-escape.c (look_for_casts): Likewise.

From-SVN: r167200
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple.c
gcc/gimple.h
gcc/ipa-type-escape.c
This page took 0.066286 seconds and 5 git commands to generate.