aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind.inc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-05-19 17:35:24 -0700
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-05-20 00:35:24 +0000
commit9e800206badd2be563d344e4a0aee83e3ac96f03 (patch)
treeacfb4573f234684042fcc91f25abdf25bb73a6f5 /gcc/unwind.inc
parent878de307d62595211f10a0a88a9551215c14c898 (diff)
downloadgcc-9e800206badd2be563d344e4a0aee83e3ac96f03.zip
gcc-9e800206badd2be563d344e4a0aee83e3ac96f03.tar.gz
gcc-9e800206badd2be563d344e4a0aee83e3ac96f03.tar.bz2
except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.
* except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary. (expand_eh_return): Convert between word_mode and Pmode. * unwind-dw2.c (extract_cie_info): Do not assume words and pointers are the same size. (execute_stack_op): Likewise. (execute_cfa_program): Likewise. (uw_frame_state_for): Likewise. (uw_update_context_1): Likewise. * unwind.inc (_Unwind_Reason_Code): Likewise. * config/mips/mips.h (EH_RETURN_DATA_REGNO): Define. (EH_RETURN_STACKADJ_RTX): Likewise. * config/mips/mips.c (compute_frame_size): Make space for saving EH return registers. (mips_expand_epilogue): Handle EH stack adjustments. * config/mips/mips.md (eh_return): New pattern. (eh_set_lr_si): Likewise. (eh_set_lr_di): Likewise. Add splitter to perform EH return after reload. From-SVN: r42332
Diffstat (limited to 'gcc/unwind.inc')
-rw-r--r--gcc/unwind.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/unwind.inc b/gcc/unwind.inc
index a1d1a43..85636d4 100644
--- a/gcc/unwind.inc
+++ b/gcc/unwind.inc
@@ -135,8 +135,8 @@ static _Unwind_Reason_Code
_Unwind_ForcedUnwind_Phase2(struct _Unwind_Exception *exc,
struct _Unwind_Context *context)
{
- _Unwind_Stop_Fn stop = (_Unwind_Stop_Fn) exc->private_1;
- void *stop_argument = (void *) exc->private_2;
+ _Unwind_Stop_Fn stop = (_Unwind_Stop_Fn) (_Unwind_Ptr) exc->private_1;
+ void *stop_argument = (void *) (_Unwind_Ptr) exc->private_2;
_Unwind_Reason_Code code, stop_code;
while (1)