Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c9ecc336
Commit
c9ecc336
authored
May 14, 2004
by
Ranjit Mathew
Committed by
Ranjit Mathew
May 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java-gimplify.c (java_gimplify_expr): Correct minor typos.
From-SVN: r81825
parent
fc55c95e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/java/ChangeLog
+4
-0
gcc/java/java-gimplify.c
+4
-4
No files found.
gcc/java/ChangeLog
View file @
c9ecc336
2004
-
05
-
14
Ranjit
Mathew
<
rmathew
@
hotmail
.
com
>
*
java
-
gimplify
.
c
(
java_gimplify_expr
):
Correct
minor
typos
.
2004
-
05
-
13
Diego
Novillo
<
dnovillo
@
redhat
.
com
>
Merge
from
tree
-
ssa
-
20020619
-
branch
.
See
...
...
gcc/java/java-gimplify.c
View file @
c9ecc336
/* 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 temp
r
orary 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment