public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c
@ 2001-09-11  8:09 Gerald Pfeifer
  2001-09-11  8:13 ` Jan Hubicka
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gerald Pfeifer @ 2001-09-11  8:09 UTC (permalink / raw)
  To: Jan Hubicka; +Cc: gcc

Jan, I'm afraid this is an outfall of your patch(es) yesterday:

/sw/test/gcc/cvs/gcc/libgcc2.c: In function `__lshrdi3':
/sw/test/gcc/cvs/gcc/libgcc2.c:266: Internal compiler error in emit_jump_to_block_after, at bb-reorder.c:546
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
gmake[3]: *** [libgcc/./_lshrdi3.o] Error 1
gmake[2]: *** [stmp-multilib] Error 2

(Given how often sparc-* has failed to bootstrap recently, I think it
should be tested before most changes to the cfg* stuff in the future
are actually installed.)

Gerald

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c
  2001-09-11  8:09 sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c Gerald Pfeifer
@ 2001-09-11  8:13 ` Jan Hubicka
  2001-09-11  8:38 ` Jan Hubicka
  2001-09-11  8:48 ` Jan Hubicka
  2 siblings, 0 replies; 6+ messages in thread
From: Jan Hubicka @ 2001-09-11  8:13 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Jan Hubicka, gcc

> Jan, I'm afraid this is an outfall of your patch(es) yesterday:
> 
> /sw/test/gcc/cvs/gcc/libgcc2.c: In function `__lshrdi3':
> /sw/test/gcc/cvs/gcc/libgcc2.c:266: Internal compiler error in emit_jump_to_block_after, at bb-reorder.c:546
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
> gmake[3]: *** [libgcc/./_lshrdi3.o] Error 1
> gmake[2]: *** [stmp-multilib] Error 2
> 
> (Given how often sparc-* has failed to bootstrap recently, I think it
> should be tested before most changes to the cfg* stuff in the future
> are actually installed.)
I am just looking at the problem (I bootstrapped sparc to verify my other
CFG changes).  It appears to be latent bug tought..
(the EDGE_FALLTHRU to exit should not be present at all when RTL epilogues
are used)

Honza
> 
> Gerald

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c
  2001-09-11  8:09 sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c Gerald Pfeifer
  2001-09-11  8:13 ` Jan Hubicka
@ 2001-09-11  8:38 ` Jan Hubicka
  2001-09-11  8:50   ` Gerald Pfeifer
  2001-09-11  8:48 ` Jan Hubicka
  2 siblings, 1 reply; 6+ messages in thread
From: Jan Hubicka @ 2001-09-11  8:38 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Jan Hubicka, gcc, gcc-patches

> Jan, I'm afraid this is an outfall of your patch(es) yesterday:
> 
> /sw/test/gcc/cvs/gcc/libgcc2.c: In function `__lshrdi3':
> /sw/test/gcc/cvs/gcc/libgcc2.c:266: Internal compiler error in emit_jump_to_block_after, at bb-reorder.c:546
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
> gmake[3]: *** [libgcc/./_lshrdi3.o] Error 1
> gmake[2]: *** [stmp-multilib] Error 2
Apparently, following check got lost.
The patch compiles fine on i386, but does nothing, solves the crash and I can't
access sparc machine till next week, as our laboratory is relocating.

Could you please test whether it works for you?

Honza


Tue Sep 11 17:36:13 CEST 2001  Jan Hubicka  <jh@suse.cz>

	* bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
	is OK.

Index: bb-reorder.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/bb-reorder.c,v
retrieving revision 1.36
diff -c -3 -p -r1.36 bb-reorder.c
*** bb-reorder.c	2001/09/11 09:39:11	1.36
--- bb-reorder.c	2001/09/11 15:35:38
*************** fixup_reorder_chain ()
*** 695,700 ****
--- 695,704 ----
  	  if (RBI (bb)->next == e_fall->dest)
  	    continue;
  
+ 	  /* An fallthru to exit block.  */
+ 	  if (!RBI (bb)->next && e_fall->dest == EXIT_BLOCK_PTR)
+ 	    continue;
+ 
  	  /* We need a new jump insn.  If the block has only one outgoing
  	     edge, then we can stuff the new jump insn in directly.  */
  	  if (bb->succ->succ_next == NULL)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c
  2001-09-11  8:09 sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c Gerald Pfeifer
  2001-09-11  8:13 ` Jan Hubicka
  2001-09-11  8:38 ` Jan Hubicka
@ 2001-09-11  8:48 ` Jan Hubicka
  2 siblings, 0 replies; 6+ messages in thread
From: Jan Hubicka @ 2001-09-11  8:48 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Jan Hubicka, gcc

> Jan, I'm afraid this is an outfall of your patch(es) yesterday:
> 
> /sw/test/gcc/cvs/gcc/libgcc2.c: In function `__lshrdi3':
> /sw/test/gcc/cvs/gcc/libgcc2.c:266: Internal compiler error in emit_jump_to_block_after, at bb-reorder.c:546
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
> gmake[3]: *** [libgcc/./_lshrdi3.o] Error 1
> gmake[2]: *** [stmp-multilib] Error 2
> 
> (Given how often sparc-* has failed to bootstrap recently, I think it
> should be tested before most changes to the cfg* stuff in the future
> are actually installed.)
Note that I can't test sparc till next week, but I am moving the development to
the branch tomorrow (I just want to get the cleanups in in cases that are
relativly safe and has huge volume of changes to avoid merging problems later).
I will bootstrap the sparc from branch then more regulary.

Honza
> 
> Gerald

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c
  2001-09-11  8:38 ` Jan Hubicka
@ 2001-09-11  8:50   ` Gerald Pfeifer
  2001-09-11  8:51     ` Jan Hubicka
  0 siblings, 1 reply; 6+ messages in thread
From: Gerald Pfeifer @ 2001-09-11  8:50 UTC (permalink / raw)
  To: Jan Hubicka; +Cc: gcc, gcc-patches

On Tue, 11 Sep 2001, Jan Hubicka wrote:
> Could you please test whether it works for you?

Yes, it solves the bootstrap failure I reported:

> Tue Sep 11 17:36:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
>
> 	* bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
> 	is OK.

This cannot be installed under the obvious to fix the bootstrap issue,
can it?

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c
  2001-09-11  8:50   ` Gerald Pfeifer
@ 2001-09-11  8:51     ` Jan Hubicka
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Hubicka @ 2001-09-11  8:51 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: Jan Hubicka, gcc, gcc-patches

> On Tue, 11 Sep 2001, Jan Hubicka wrote:
> > Could you please test whether it works for you?
> 
> Yes, it solves the bootstrap failure I reported:
> 
> > Tue Sep 11 17:36:13 CEST 2001  Jan Hubicka  <jh@suse.cz>
> >
> > 	* bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
> > 	is OK.
> 
> This cannot be installed under the obvious to fix the bootstrap issue,
> can it?
Sure, I just wanted to know that it really helps.

Commiting the patch.

Honza
> 
> Gerald
> -- 
> Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-09-11  8:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-11  8:09 sparc-sun-solaris2.8 bootstrap: ICE in bb-reorder.c Gerald Pfeifer
2001-09-11  8:13 ` Jan Hubicka
2001-09-11  8:38 ` Jan Hubicka
2001-09-11  8:50   ` Gerald Pfeifer
2001-09-11  8:51     ` Jan Hubicka
2001-09-11  8:48 ` Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).