aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/java-gimplify.c
diff options
context:
space:
mode:
authorRanjit Mathew <rmathew@hotmail.com>2004-05-14 02:02:37 +0000
committerRanjit Mathew <rmathew@gcc.gnu.org>2004-05-14 02:02:37 +0000
commitc9ecc33602fcfe7f35b96b8d75435d9c0c8f5d00 (patch)
tree7bc36e5c02bfe556e6ddd522675e802f190d32c2 /gcc/java/java-gimplify.c
parentfc55c95e84602db63c585c47a2793d51aeb108aa (diff)
downloadgcc-c9ecc33602fcfe7f35b96b8d75435d9c0c8f5d00.zip
gcc-c9ecc33602fcfe7f35b96b8d75435d9c0c8f5d00.tar.gz
gcc-c9ecc33602fcfe7f35b96b8d75435d9c0c8f5d00.tar.bz2
* java-gimplify.c (java_gimplify_expr): Correct minor typos.
From-SVN: r81825
Diffstat (limited to 'gcc/java/java-gimplify.c')
-rw-r--r--gcc/java/java-gimplify.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c
index ae8acd5..f32a4c8 100644
--- a/gcc/java/java-gimplify.c
+++ b/gcc/java/java-gimplify.c
@@ -1,6 +1,6 @@
/* Java(TM) language-specific gimplification routines.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of GCC.
@@ -63,10 +63,10 @@ java_gimplify_expr (tree *expr_p, tree *pre_p ATTRIBUTE_UNUSED,
char code_class = TREE_CODE_CLASS(TREE_CODE (*expr_p));
/* Java insists on strict left-to-right evaluation of expressions.
- A problem may arise if a variable used in the lhs of a binary
- operation is altered by an assignment to that value in the rhs
+ A problem may arise if a variable used in the LHS of a binary
+ operation is altered by an assignment to that value in the RHS
before we've performed the operation. So, we always copy every
- LHS to a temprorary variable.
+ LHS to a temporary variable.
FIXME: Are there any other cases where we should do this?
Parameter lists, maybe? Or perhaps that's unnecessary because