diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-24 08:48:27 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-24 08:48:27 +0000 |
| commit | a405fd2393cda44f03d1f0c0a8a494348761b08b (patch) | |
| tree | 4f681e850b969f8ace058cf4945648225baa8306 | |
| parent | 731e92d17b049200c3b3cb5bd3f593ee92f5e519 (diff) | |
| download | ppe42-gcc-a405fd2393cda44f03d1f0c0a8a494348761b08b.tar.gz ppe42-gcc-a405fd2393cda44f03d1f0c0a8a494348761b08b.zip | |
* optabs.c (expand_binop): Don't reuse the shift target in the
middle of shift sequences.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58487 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/optabs.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e6c104e4f3..87dd52d8075 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-24 Richard Sandiford <rsandifo@redhat.com> + + * optabs.c (expand_binop): Don't reuse the shift target in the + middle of shift sequences. + 2002-10-23 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (get_static_reference): Remove unneeded diff --git a/gcc/optabs.c b/gcc/optabs.c index ec03c1908d8..dcb15b060e8 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -1151,7 +1151,7 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods) NULL_RTX, unsignedp, next_methods); into_temp2 = expand_binop (word_mode, reverse_unsigned_shift, into_input, second_shift_count, - into_target, unsignedp, next_methods); + NULL_RTX, unsignedp, next_methods); if (into_temp1 != 0 && into_temp2 != 0) inter = expand_binop (word_mode, ior_optab, into_temp1, into_temp2, @@ -1167,7 +1167,7 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods) NULL_RTX, unsignedp, next_methods); outof_temp2 = expand_binop (word_mode, reverse_unsigned_shift, outof_input, second_shift_count, - outof_target, unsignedp, next_methods); + NULL_RTX, unsignedp, next_methods); if (inter != 0 && outof_temp1 != 0 && outof_temp2 != 0) inter = expand_binop (word_mode, ior_optab, |

