summaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-12 16:54:38 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-12 16:54:38 +0000
commite10d697d28fe6aae456bda8faa61b5bc05e426e2 (patch)
treed696bcaec8c464af3761b07fd32df0c58afae383 /gcc/dse.c
parent920901ac7686621f11f91e8606f8e55c1fafce69 (diff)
downloadgcc-e10d697d28fe6aae456bda8faa61b5bc05e426e2.tar.gz
gcc/
* dse.c (find_shift_sequence): Reinstate "<= UNITS_PER_WORD" condition. * var-tracking.c (micro_operation_def): Update comment on u.loc. (mode_for_reg_attrs, var_lowpart): New functions. (add_uses): Consider recording a lowpart of LOC for MO_USE. (add_stores): Likewise MO_SET and MO_COPY. If the source of a set or copy is known, set LOC to the SET that performs the set, instead of the destination. (find_src_status, find_src_set_src): Remove LOC parameter. Replace INSN with the source value. (compute_bb_dataflow, emit_notes_in_bb): Check for a SET u.loc when handling MO_SET and MO_COPY. Update the calls to find_src_status and find_src_set_src. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129269 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dse.c')
-rw-r--r--gcc/dse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dse.c b/gcc/dse.c
index c5e8e26dc62..a5244e11414 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -1415,7 +1415,7 @@ find_shift_sequence (rtx read_reg,
justify the value we want to read but is available in one insn on
the machine. */
- for (; access_size < UNITS_PER_WORD; access_size *= 2)
+ for (; access_size <= UNITS_PER_WORD; access_size *= 2)
{
rtx target, new_reg, shift_seq, insn;
enum machine_mode new_mode;