>> I did find something which might be the real problem. Within >> delete_output_reload there are two calls to count_occurrences. The >> second one will be called with parameters > >... > >> Due to this difference, no occurence is found. So the second >> operand=20 of the (plus:DI ...) is not counted. > >I see. This does look exactly like the problem Alexandre Oliva fixed for PR target/28146: >http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00592.html > >This patch is in mainline, but hasn't been applied to the 4.1 branch. >Could you check whether it fixes your problem?
Yes, this fixes my problem. Thanks for your work. Erwin