From 609023fff006ec9edd807bd1b7de28778b4ebc54 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 2 Apr 2008 19:56:03 +0000 Subject: [PATCH] expmed.c (extract_split_bit_field): Remove if (0) code. * 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 | 6 ++++++ gcc/expmed.c | 11 +---------- gcc/tree-ssa-structalias.c | 5 ----- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e32f8846aea..554e664100c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-04-03 Ben Elliston + + * 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 * doc/cppopts.texi (-dU): Document. diff --git a/gcc/expmed.c b/gcc/expmed.c index 2f2e3cc657d..8724258acc1 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -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) { diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 037f223c140..cecafca673a 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -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"); } } -- 2.30.2