diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-17 17:19:32 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-17 17:19:32 +0000 |
commit | a24d7a8cf1da0be367df36c2795d3b1ee8504d63 (patch) | |
tree | c6feac9ce190209054f9449e07a6251d50093bca | |
parent | 563d50fdf94b22eeaa365d132b87e2ee58d56bbc (diff) | |
download | ppe42-gcc-a24d7a8cf1da0be367df36c2795d3b1ee8504d63.tar.gz ppe42-gcc-a24d7a8cf1da0be367df36c2795d3b1ee8504d63.zip |
* expr.c (expand_expr_real_1): Remove an obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89174 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/expr.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b9cf8b0846..a19dd4aefa4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-10-17 Kazu Hirata <kazu@cs.umass.edu> + + * expr.c (expand_expr_real_1): Remove an obsolete comment. + 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> * c-typeck.c (default_function_array_conversion): Always create diff --git a/gcc/expr.c b/gcc/expr.c index 2baea73cecb..459d3b35372 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -8064,14 +8064,6 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, case MODIFY_EXPR: { - /* If lhs is complex, expand calls in rhs before computing it. - That's so we don't compute a pointer and save it over a - call. If lhs is simple, compute it first so we can give it - as a target if the rhs is just a call. This avoids an - extra temp and copy and that prevents a partial-subsumption - which makes bad code. Actually we could treat - component_ref's of vars like vars. */ - tree lhs = TREE_OPERAND (exp, 0); tree rhs = TREE_OPERAND (exp, 1); |