OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7802b78
)
* stmt.c (expand_decl_cleanup): Avoid core dumping when exceptions
author
mrs
<mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jun 1997 01:36:34 +0000
(
01:36
+0000)
committer
mrs
<mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jun 1997 01:36:34 +0000
(
01:36
+0000)
aren't on.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14226
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/stmt.c
patch
|
blob
|
history
diff --git
a/gcc/stmt.c
b/gcc/stmt.c
index
6d78234
..
fb17900
100644
(file)
--- a/
gcc/stmt.c
+++ b/
gcc/stmt.c
@@
-3957,9
+3957,10
@@
expand_decl_cleanup (decl, cleanup)
{
seq = get_insns ();
end_sequence ();
- thisblock->data.block.last_unconditional_cleanup
- = emit_insns_after (seq,
- thisblock->data.block.last_unconditional_cleanup);
+ if (seq)
+ thisblock->data.block.last_unconditional_cleanup
+ = emit_insns_after (seq,
+ thisblock->data.block.last_unconditional_cleanup);
}
else
{