From 6c62412f72c39b1835e49746af6be5591a133564 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 17 Oct 2004 17:19:32 +0000 Subject: [PATCH] * expr.c (expand_expr_real_1): Remove an obsolete comment. From-SVN: r89174 --- gcc/ChangeLog | 4 ++++ 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 + + * expr.c (expand_expr_real_1): Remove an obsolete comment. + 2004-10-17 Andrew Pinski * 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); -- 2.30.2