expmed.c (extract_split_bit_field): Remove if (0) code.
authorBen Elliston <bje@au.ibm.com>
Wed, 2 Apr 2008 19:56:03 +0000 (19:56 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Wed, 2 Apr 2008 19:56:03 +0000 (06:56 +1100)
* expmed.c (extract_split_bit_field): Remove if (0) code.
* tree-ssa-structalias.c (do_sd_constraint): Likewise.
(do_ds_constraint): Likewise.

From-SVN: r133848

gcc/ChangeLog
gcc/expmed.c
gcc/tree-ssa-structalias.c

index e32f8846aea843e3b950b0c9740ad5486d11799d..554e664100cf410983784a0a1b6618d80264c7b4 100644 (file)
@@ -1,3 +1,9 @@
+2008-04-03  Ben Elliston  <bje@au.ibm.com>
+
+       * expmed.c (extract_split_bit_field): Remove if (0) code.
+       * tree-ssa-structalias.c (do_sd_constraint): Likewise.
+       (do_ds_constraint): Likewise.
+
 2008-04-02  Joseph Myers  <joseph@codesourcery.com>
 
        * doc/cppopts.texi (-dU): Document.
index 2f2e3cc657d755c8419b64b50b91ebe09dc2b467..8724258acc1317318c9a3850359c3129ce2c2233 100644 (file)
@@ -2002,16 +2002,7 @@ extract_split_bit_field (rtx op0, unsigned HOST_WIDE_INT bitsize,
   if (REG_P (op0) || GET_CODE (op0) == SUBREG)
     unit = BITS_PER_WORD;
   else
-    {
-      unit = MIN (MEM_ALIGN (op0), BITS_PER_WORD);
-      if (0 && bitsize / unit > 2)
-       {
-         rtx tmp = extract_force_align_mem_bit_field (op0, bitsize, bitpos,
-                                                      unsignedp);
-         if (tmp)
-           return tmp;
-       }
-    }
+    unit = MIN (MEM_ALIGN (op0), BITS_PER_WORD);
 
   while (bitsdone < bitsize)
     {
index 037f223c1407a262dca8beaa590434c47a750072..cecafca673a225d241666dbcd59dd17c83881d23 100644 (file)
@@ -1428,9 +1428,6 @@ do_sd_constraint (constraint_graph_t graph, constraint_t c,
          else if (add_graph_edge (graph, lhs, t))
            flag |= bitmap_ior_into (sol, get_varinfo (t)->solution);
        }
-      else if (0 && dump_file && !(get_varinfo (j)->is_special_var))
-       fprintf (dump_file, "Untypesafe usage in do_sd_constraint\n");
-
     }
 
 done:
@@ -1514,8 +1511,6 @@ do_ds_constraint (constraint_t c, bitmap delta)
                }
            }
        }
-      else if (0 && dump_file && !(get_varinfo (j)->is_special_var))
-       fprintf (dump_file, "Untypesafe usage in do_ds_constraint\n");
     }
 }