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
413ec213
Commit
413ec213
authored
Jun 02, 1994
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_end_bindings): Don't bother emitting cleanups
after a barrier. From-SVN: r7432
parent
d9e1ab8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
20 deletions
+24
-20
gcc/stmt.c
+24
-20
No files found.
gcc/stmt.c
View file @
413ec213
...
...
@@ -2955,29 +2955,33 @@ expand_end_bindings (vars, mark_ends, dont_jump_in)
if
(
thisblock
->
data
.
block
.
stack_level
!=
0
||
thisblock
->
data
.
block
.
cleanups
!=
0
)
{
/* Don't let cleanups affect ({...}) constructs. */
int
old_expr_stmts_for_value
=
expr_stmts_for_value
;
rtx
old_last_expr_value
=
last_expr_value
;
tree
old_last_expr_type
=
last_expr_type
;
expr_stmts_for_value
=
0
;
/* Do the cleanups. */
expand_cleanups
(
thisblock
->
data
.
block
.
cleanups
,
NULL_TREE
);
do_pending_stack_adjust
();
/* Only clean up here if this point can actually be reached. */
if
(
GET_CODE
(
get_last_insn
())
!=
BARRIER
)
{
/* Don't let cleanups affect ({...}) constructs. */
int
old_expr_stmts_for_value
=
expr_stmts_for_value
;
rtx
old_last_expr_value
=
last_expr_value
;
tree
old_last_expr_type
=
last_expr_type
;
expr_stmts_for_value
=
0
;
/* Do the cleanups. */
expand_cleanups
(
thisblock
->
data
.
block
.
cleanups
,
NULL_TREE
);
do_pending_stack_adjust
();
expr_stmts_for_value
=
old_expr_stmts_for_value
;
last_expr_value
=
old_last_expr_value
;
last_expr_type
=
old_last_expr_type
;
expr_stmts_for_value
=
old_expr_stmts_for_value
;
last_expr_value
=
old_last_expr_value
;
last_expr_type
=
old_last_expr_type
;
/* Restore the stack level. */
/* Restore the stack level. */
if
(
thisblock
->
data
.
block
.
stack_level
!=
0
)
{
emit_stack_restore
(
thisblock
->
next
?
SAVE_BLOCK
:
SAVE_FUNCTION
,
thisblock
->
data
.
block
.
stack_level
,
NULL_RTX
);
if
(
nonlocal_goto_handler_slot
!=
0
)
emit_stack_save
(
SAVE_NONLOCAL
,
&
nonlocal_goto_stack_level
,
NULL_RTX
);
if
(
thisblock
->
data
.
block
.
stack_level
!=
0
)
{
emit_stack_restore
(
thisblock
->
next
?
SAVE_BLOCK
:
SAVE_FUNCTION
,
thisblock
->
data
.
block
.
stack_level
,
NULL_RTX
);
if
(
nonlocal_goto_handler_slot
!=
0
)
emit_stack_save
(
SAVE_NONLOCAL
,
&
nonlocal_goto_stack_level
,
NULL_RTX
);
}
}
/* Any gotos out of this block must also do these things.
...
...
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