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
ff682191
Commit
ff682191
authored
Sep 12, 2006
by
Tom Tromey
Committed by
Tom Tromey
Sep 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (push_value): Always flush quick stack.
From-SVN: r116905
parent
6df77645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gcc/java/ChangeLog
+4
-0
gcc/java/expr.c
+7
-0
No files found.
gcc/java/ChangeLog
View file @
ff682191
2006
-
09
-
12
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
expr
.
c
(
push_value
):
Always
flush
quick
stack
.
2006
-
09
-
12
Tom
Tromey
<
tromey
@
redhat
.
com
>
PR
java
/
29013
:
*
jcf
-
write
.
c
(
generate_bytecode_insns
)
<
CALL_EXPR
>:
Always
note
the
push
of
the
called
method
's return result.
...
...
gcc/java/expr.c
View file @
ff682191
...
...
@@ -301,6 +301,13 @@ push_value (tree value)
TREE_CHAIN
(
node
)
=
quick_stack
;
quick_stack
=
node
;
}
/* If the value has a side effect, then we need to evaluate it
whether or not the result is used. If the value ends up on the
quick stack and is then popped, this won't happen -- so we flush
the quick stack. It is safest to simply always flush, though,
since TREE_SIDE_EFFECTS doesn't capture COMPONENT_REF, and for
the latter we may need to strip conversions. */
flush_quick_stack
();
}
/* Pop a type from the type stack.
...
...
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