]> git.ipfire.org Git - thirdparty/gcc.git/commit
gimple.c (walk_gimple_op): Compute val_only for the LHS of an assigment in the canoni...
authorRichard Guenther <rguenther@suse.de>
Thu, 5 Apr 2012 13:38:47 +0000 (13:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 5 Apr 2012 13:38:47 +0000 (13:38 +0000)
commit216820a4ad105b4f0802372fa3437d00bdb182d9
tree8683318a9371cb594b545fa16e42b2a11e4bf33a
parenteaf6ca186f3f165d0b641e02461dcb57d9c0d04d
gimple.c (walk_gimple_op): Compute val_only for the LHS of an assigment in the canonical way...

2012-04-05  Richard Guenther  <rguenther@suse.de>

* gimple.c (walk_gimple_op): Compute val_only for the LHS
of an assigment in the canonical way, avoiding is_gimple_mem_rhs.
(is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt): Move ...
* gimplify.c (is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt):
... here and make static.
* gimple.h (is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt):
Remove.

From-SVN: r186165
gcc/ChangeLog
gcc/gimple.c
gcc/gimple.h
gcc/gimplify.c