From 127cd4056ca1180271f04b204e4e3edb52137981 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Wed, 3 Sep 1997 04:08:35 +0200 Subject: [PATCH] except.c (eh_outer_context): Expand masking operation using expand_binop. * except.c (eh_outer_context): Expand masking operation using expand_binop. From tege. From-SVN: r15046 --- gcc/ChangeLog | 5 +++++ gcc/except.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b1404eadc79..46a44e6594a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 3 02:09:30 1997 Torbjorn Granlund + + * except.c (eh_outer_context): Expand masking operation using + expand_binop. + Tue Sep 2 18:09:39 1997 Jim Wilson * alpha.md (floatdisf2-1): New pattern. diff --git a/gcc/except.c b/gcc/except.c index 705e1a8bfb6..32b16b22fc3 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -645,10 +645,8 @@ eh_outer_context (addr) { /* First mask out any unwanted bits. */ #ifdef MASK_RETURN_ADDR - emit_insn (gen_rtx (SET, Pmode, - addr, - gen_rtx (AND, Pmode, - addr, MASK_RETURN_ADDR))); + expand_binop (Pmode, and_optab, addr, MASK_RETURN_ADDR, addr, + 1, OPTAB_LIB_WIDEN); #endif /* Then subtract out enough to get into the appropriate region. If