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
72eb1038
Commit
72eb1038
authored
Nov 21, 1997
by
Bruno Haible
Committed by
Jason Merrill
Nov 21, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stmt.c (expand_end_bindings): Allow jump into block with cleanups.
From-SVN: r16654
parent
6c20b7e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/ChangeLog
+4
-0
gcc/stmt.c
+4
-4
No files found.
gcc/ChangeLog
View file @
72eb1038
Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
* stmt.c (expand_end_bindings): Allow jump into block with cleanups.
Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
* except.h: Add outer_context_label_stack.
...
...
gcc/stmt.c
View file @
72eb1038
...
...
@@ -3411,10 +3411,10 @@ expand_end_bindings (vars, mark_ends, dont_jump_in)
emit_label
(
afterward
);
}
/* Don't allow jumping into a block that has cleanups or a stack level. */
/* Don't allow jumping into a block that has a stack level.
Cleanups are allowed, though. */
if
(
dont_jump_in
||
thisblock
->
data
.
block
.
stack_level
!=
0
||
thisblock
->
data
.
block
.
cleanups
!=
0
)
||
thisblock
->
data
.
block
.
stack_level
!=
0
)
{
struct
label_chain
*
chain
;
...
...
@@ -3425,7 +3425,7 @@ expand_end_bindings (vars, mark_ends, dont_jump_in)
DECL_TOO_LATE
(
chain
->
label
)
=
1
;
/* If any goto without a fixup came to this label,
that must be an error, because gotos without fixups
come from outside all saved stack-levels
and all cleanups
. */
come from outside all saved stack-levels. */
if
(
TREE_ADDRESSABLE
(
chain
->
label
))
error_with_decl
(
chain
->
label
,
"label `%s' used before containing binding contour"
);
...
...
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