diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2007-11-27 01:03:54 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2007-11-27 01:03:54 +0000 |
commit | 77255987312b973e4c1fa33233719840b058c209 (patch) | |
tree | a5b5a18654a47d4b8683a4ed57a073ab8df37e26 /gcc/tree-ssa-propagate.c | |
parent | 2d333a9c6adcb062b14c4849f86cdf80c7a18262 (diff) |
* tree-ssa-propagate.c (set_rhs) <GIMPLE_MODIFY_STMT>: Fix typo.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@130459 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r-- | gcc/tree-ssa-propagate.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c index 17eec742138..98847fb377a 100644 --- a/gcc/tree-ssa-propagate.c +++ b/gcc/tree-ssa-propagate.c @@ -710,12 +710,9 @@ set_rhs (tree *stmt_p, tree expr) case GIMPLE_MODIFY_STMT: op = GIMPLE_STMT_OPERAND (stmt, 1); if (TREE_CODE (op) == WITH_SIZE_EXPR) - { - stmt = op; - TREE_OPERAND (stmt, 1) = expr; - } + TREE_OPERAND (op, 0) = expr; else - GIMPLE_STMT_OPERAND (stmt, 1) = expr; + GIMPLE_STMT_OPERAND (stmt, 1) = expr; break; case COND_EXPR: |