This is the mail archive of the gcc-bugs@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: Solaris 2/SPARC Ada bootstrap broken


Dale,

> Sorry.  I haven't been able to build Ada here.  The patch fixes a bug which

as I said, building Ada on Solaris 2/SPARC requires an additional patch
still not approved.  The problem doesn't occur on Solaris 2/Intel, btw.

> can cause unreproducible crashes, so I doubt that just backing it out is 
> right.

Maybe, but since it introduces a regression, it's upon you to fix that.

> I don't see why the patch should cause this crash.  The code is looking for
> uses of pseudoregisters, and the patch only introduces a use of 
> stack_pointer_rtx.
> That should always be a hard reg, shouldn't it?  Can you show me a dump of 
> the RTL
> it's complaining about?

Sure: the abort() happens for 

	/* No spurious USEs of pseudo registers may remain.  */
	if (regno >= FIRST_PSEUDO_REGISTER)
	  abort ();

and x is

(reg/f:SI 2946)

at this point, while FIRST_PSEUDO_REGISTER is 102 on sparc.

Let me know whatever additional information you need.

	Rainer


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