aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/except.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6635036..845d7bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-27 Jason Merrill <jason_merrill@redhat.com>
+
+ * except.c (get_exception_filter): word_mode, not Pmode.
+
2001-04-26 Geoffrey Keating <geoffk@redhat.com>
* config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
diff --git a/gcc/except.c b/gcc/except.c
index 163d5ed..80c82a1 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -985,7 +985,7 @@ get_exception_filter ()
rtx filter = cfun->eh->filter;
if (! filter)
{
- filter = gen_reg_rtx (Pmode);
+ filter = gen_reg_rtx (word_mode);
cfun->eh->filter = filter;
}
return filter;