On Thu, 6 Sep 2007, Jan Hubicka wrote:

> Hi,
> I already have fix for this just waiting for Andreas Tobler to verify
> that it does what expected.  If you could give it a try, it would be
> nice.
> Honza
>
> Index: reorg.c
> ===================================================================
> --- reorg.c   (revision 128145)
> +++ reorg.c   (working copy)
> @@ -3991,6 +3991,9 @@ dbr_schedule (rtx first)
>         if (GET_CODE (pat) == SEQUENCE)
>           insn = XVECEXP (pat, 0, 0);
>       }
> +      if (INSN_P (insn) && GET_CODE (PATTERN (insn)) == USE
> +       && INSN_P (XEXP (PATTERN (insn), 0)))
> +     delete_insn (insn);
>        if (!JUMP_P (insn))
>       continue;

FWIW, this patch fixes the problem.  Test results here:
http://gcc.gnu.org/ml/gcc-testresults/2007-09/msg00313.html

I'll try again with your updated version tonight.

                --Kaveh
--
Kaveh R. Ghazi                  [EMAIL PROTECTED]

Reply via email to