re PR tree-optimization/20936 (tree check: accessed operand 2 of view_convert_expr with 1 operands)

PR tree-optimization/20936.
	* tree-ssa-ccp.c (visit_assignment): Fix a typo.

From-SVN: r98183
This commit is contained in:
Kazu Hirata 2005-04-15 14:06:07 +00:00 committed by Kazu Hirata
parent 0bdcd33274
commit 3d36fb45db
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-04-15 Kazu Hirata <kazu@cs.umass.edu>
PR tree-optimization/20936.
* tree-ssa-ccp.c (visit_assignment): Fix a typo.
2005-04-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* doc/invoke.texi: Fix typos.

View File

@ -1071,7 +1071,7 @@ visit_assignment (tree stmt, tree *output_p)
TREE_TYPE (TREE_OPERAND (orig_lhs, 0)),
val.value));
orig_lhs = TREE_OPERAND (orig_lhs, 1);
orig_lhs = TREE_OPERAND (orig_lhs, 0);
if (w && is_gimple_min_invariant (w))
val.value = w;
else