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
(from parent 1:
4812949
)
* except.c (end_eh_unwinder): If we have a return instruction, we
author
mrs
<mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jun 1997 01:13:20 +0000
(
01:13
+0000)
committer
mrs
<mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jun 1997 01:13:20 +0000
(
01:13
+0000)
have to make sure we use it and don't fall off the end of the
function in the unwinder.
Fixes EH codegen bug on vax-dec-vms
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14258
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/except.c
patch
|
blob
|
history
diff --git
a/gcc/except.c
b/gcc/except.c
index
4701017
..
705e1a8
100644
(file)
--- a/
gcc/except.c
+++ b/
gcc/except.c
@@
-1652,6
+1652,14
@@
end_eh_unwinder ()
expand_leftover_cleanups ();
emit_label (end);
+
+#ifdef HAVE_return
+ if (HAVE_return)
+ {
+ emit_jump_insn (gen_return ());
+ emit_barrier ();
+ }
+#endif
}
/* If necessary, emit insns for the per function unwinder for the