summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2003-08-01 22:17:44 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2003-08-01 18:17:44 -0400
commitf920765d48d5349329051d416b44601295362870 (patch)
tree3841d99c10a7cf83479c743a3e75b3b093123d90 /gcc/except.c
parent8e5f33ff4aa0b2c2277a82577b03090004483267 (diff)
downloadgcc-f920765d48d5349329051d416b44601295362870.tar.gz
except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode, for accesses to exc_ptr.
* except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode, for accesses to exc_ptr. From-SVN: r70075
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/except.c b/gcc/except.c
index c34dcd9b521..97e0cb2b2b9 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2140,12 +2140,12 @@ sjlj_emit_dispatch_table (rtx dispatch_label, struct sjlj_lp_info *lp_info)
dispatch = copy_to_reg (mem);
mem = adjust_address (fc, word_mode, sjlj_fc_data_ofs);
- if (word_mode != Pmode)
+ if (word_mode != ptr_mode)
{
#ifdef POINTERS_EXTEND_UNSIGNED
- mem = convert_memory_address (Pmode, mem);
+ mem = convert_memory_address (ptr_mode, mem);
#else
- mem = convert_to_mode (Pmode, mem, 0);
+ mem = convert_to_mode (ptr_mode, mem, 0);
#endif
}
emit_move_insn (cfun->eh->exc_ptr, mem);