]> gcc.gnu.org Git - gcc.git/commitdiff
except.c (eh_outer_context): Expand masking operation using expand_binop.
authorTorbjorn Granlund <tege@pdc.kth..se>
Wed, 3 Sep 1997 02:08:35 +0000 (04:08 +0200)
committerJeff Law <law@gcc.gnu.org>
Wed, 3 Sep 1997 02:08:35 +0000 (20:08 -0600)
        * except.c (eh_outer_context): Expand masking operation using
        expand_binop.
From tege.

From-SVN: r15046

gcc/ChangeLog
gcc/except.c

index b1404eadc799fc42e4c5a87b52dea8dc6384ffb2..46a44e6594a0ea367d1ffd39756fd696172fcd30 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep  3 02:09:30 1997  Torbjorn Granlund  <tege@pdc.kth..se>
+
+       * except.c (eh_outer_context): Expand masking operation using
+       expand_binop.
+
 Tue Sep  2 18:09:39 1997  Jim Wilson  <wilson@cygnus.com>
 
        * alpha.md (floatdisf2-1): New pattern.
index 705e1a8bfb69964e96f74be770859fe547174084..32b16b22fc345fa849f15c98dc6c3cece35de5ea 100644 (file)
@@ -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
This page took 0.099874 seconds and 5 git commands to generate.