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

2007-09-07 Thread Christian Joensson
2007/9/6, Kaveh R. GHAZI [EMAIL PROTECTED]: (Sorry, first one bounced from gcc@ because it was over 400k) Hi Jan, On sparc-sun-solaris2.10, I'm getting new bootstrap failures in stage2 complaining several times about rtl sharing. I've included four .i files for modules that ICEed during

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

2007-09-07 Thread Christian Joensson
2007/9/7, Christian Joensson [EMAIL PROTECTED]: 2007/9/6, Kaveh R. GHAZI [EMAIL PROTECTED]: (Sorry, first one bounced from gcc@ because it was over 400k) Hi Jan, On sparc-sun-solaris2.10, I'm getting new bootstrap failures in stage2 complaining several times about rtl sharing. I've

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

2007-09-07 Thread Kaveh R. GHAZI
On Thu, 6 Sep 2007, Jan Hubicka wrote: Ah, I see. The attached patch seems to work on my testcase too. Honza Index: reorg.c === --- reorg.c (revision 128145) +++ reorg.c (working copy) @@ -3863,17 +3863,6 @@

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

2007-09-07 Thread Jan Hubicka
This second patch also allows bootstrap to complete on my sparc box. Thanks for testing and good news, I will commit the patch Honza Thanks, --Kaveh -- Kaveh R. Ghazi[EMAIL PROTECTED]

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

2007-09-06 Thread Andreas Tobler
Kaveh R. GHAZI wrote: (Sorry, first one bounced from gcc@ because it was over 400k) Hi Jan, On sparc-sun-solaris2.10, I'm getting new bootstrap failures in stage2 complaining several times about rtl sharing. I've included four .i files for modules that ICEed during stage2, and the cc1

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

2007-09-06 Thread Jan Hubicka
(Sorry, first one bounced from gcc@ because it was over 400k) Hi Jan, On sparc-sun-solaris2.10, I'm getting new bootstrap failures in stage2 complaining several times about rtl sharing. I've included four .i files for modules that ICEed during stage2, and the cc1 invocations below.

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

2007-09-06 Thread Jan Hubicka
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. The problem is /* Called when INSN is being moved from a location near the target of a jump. We leave a marker of the form (use

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

2007-09-06 Thread Ian Lance Taylor
Jan Hubicka [EMAIL PROTECTED] writes: Producing USE expressions embedding whole INSN. The comment promise that those will be removed before reorg ends, but they are not. This patch just adds simple code to remove them in very last dbr_schedule pass. I see code in dbr_schedule to delete

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

2007-09-06 Thread Jan Hubicka
Jan Hubicka [EMAIL PROTECTED] writes: Producing USE expressions embedding whole INSN. The comment promise that those will be removed before reorg ends, but they are not. This patch just adds simple code to remove them in very last dbr_schedule pass. I see code in dbr_schedule to

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

2007-09-06 Thread Ian Lance Taylor
Jan Hubicka [EMAIL PROTECTED] writes: Jan Hubicka [EMAIL PROTECTED] writes: Producing USE expressions embedding whole INSN. The comment promise that those will be removed before reorg ends, but they are not. This patch just adds simple code to remove them in very last dbr_schedule

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

2007-09-06 Thread Jan Hubicka
Jan Hubicka [EMAIL PROTECTED] writes: Jan Hubicka [EMAIL PROTECTED] writes: Producing USE expressions embedding whole INSN. The comment promise that those will be removed before reorg ends, but they are not. This patch just adds simple code to remove them in very last

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

2007-09-06 Thread Ian Lance Taylor
Jan Hubicka [EMAIL PROTECTED] writes: The attached patch seems to work on my testcase too. This patch is OK if it passes testing and gets a ChangeLog entry. Thanks. Ian

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

2007-09-06 Thread Kaveh R. GHAZI
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