summaryrefslogtreecommitdiff
path: root/gcc/unwind.inc
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-20 00:35:24 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-20 00:35:24 +0000
commitb92c85dcf12a7c7474590b5d3b085c3b875ca36f (patch)
treeacfb4573f234684042fcc91f25abdf25bb73a6f5 /gcc/unwind.inc
parent4fd56d8b8fb4d39073d436f7613331d04a6dae06 (diff)
downloadgcc-b92c85dcf12a7c7474590b5d3b085c3b875ca36f.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42332 138bc75d-0d04-0410-961f-82ee72b054a4
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 a1d1a432f63..85636d40c03 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)