------- Comment #5 from kkojima at gcc dot gnu dot org  2009-05-14 00:12 -------
Created an attachment (id=17860)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17860&action=view)
A patch

A binary search on trunk shows me that the patch in r146829 and
its follow-up r146988 fix the issue.
See http://gcc.gnu.org/ml/gcc-patches/2009-04/msg02097.html for
r146829 changes.
With these patches, 4.3 compiler emits "bf .L5" instead of "bf/s .L5"
even with -O1.  So it seems that this is an rtl-optimization issue
which is fixed on trunk recently.
I'm not sure about the backport to the release branches because
that patch is originally for PR 34415 which was also a mips 4.3
regression and solved only on the trunk (4.4 at that moment).
I've attached an r146829+r146988 patch tuned for gcc-4_3-branch.
Could you try it?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40105

Reply via email to