This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RTL sharing bootstrap failure on sparc-sun-solaris2.10


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			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]