optabs.c (sign_expand_binop): Set libcall_gen = NULL in the fake signed optab.
authorAndrew Haley <aph@redhat.com>
Sun, 9 Sep 2007 08:10:24 +0000 (08:10 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Sun, 9 Sep 2007 08:10:24 +0000 (08:10 +0000)
        * optabs.c (sign_expand_binop): Set libcall_gen = NULL in the fake
        signed optab.

From-SVN: r128288

gcc/ChangeLog
gcc/optabs.c

index 6f3056329b9772b9f6e85cb6db1c30d1e2fb9e45..5b93ed1e9f130ad448b19f18ebe0511a84ebfd88 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-09  Andrew Haley  <aph@redhat.com>
+
+        * optabs.c (sign_expand_binop): Set libcall_gen = NULL in the
+        fake signed optab.
+
 2007-09-09  Hans-Peter Nilsson  <hp@axis.com>
 
        Divide REG_LABEL notes into REG_LABEL_OPERAND and REG_LABEL_TARGET.
index 32b195c2a5c75e2fb675d16a65e01f8d9829a9f7..e8ac1d707d4697bd4232f11e8a89abd4fb9d99e4 100644 (file)
@@ -2249,6 +2249,9 @@ sign_expand_binop (enum machine_mode mode, optab uoptab, optab soptab,
      hides any signed insn for direct use.  */
   wide_soptab = *soptab;
   optab_handler (&wide_soptab, mode)->insn_code = CODE_FOR_nothing;
+  /* We don't want to generate new hash table entries from this fake
+     optab.  */
+  wide_soptab.libcall_gen = NULL;
 
   temp = expand_binop (mode, &wide_soptab, op0, op1, target,
                       unsignedp, OPTAB_WIDEN);