Re: Where is scheduling going wrong? - GCC-4.1.2

2008-04-14 Thread Jim Wilson
On Sun, 2008-04-13 at 17:05 +0530, Mohamed Shafi wrote: Well i tracked down the cause to the md file. In the md file i had a define_expand for the jump pattern. Inside the pattern i was checking whether the value of the offset for the jump is out of range and if its out of range then force

Re: Where is scheduling going wrong? - GCC-4.1.2

2008-04-13 Thread Mohamed Shafi
On Sat, Apr 12, 2008 at 12:13 AM, Jim Wilson [EMAIL PROTECTED] wrote: Mohamed Shafi wrote: This looks like reordering is proper. When schedule-insn2 is run for the above region/block the no:of instructions in the region (rgn_n_insns) is 3. Maybe bb reorder got the basic block

Re: Where is scheduling going wrong? - GCC-4.1.2

2008-04-11 Thread Jim Wilson
Mohamed Shafi wrote: This looks like reordering is proper. When schedule-insn2 is run for the above region/block the no:of instructions in the region (rgn_n_insns) is 3. Maybe bb reorder got the basic block structure wrong, and the barrier is not supposed to be part of the basic block. In

Where is scheduling going wrong? - GCC-4.1.2

2008-04-09 Thread Mohamed Shafi
Hello all, For a target that i porting in gcc 4.1.2 i am getting the following assert failure : internal compiler error: in schedule_region, at sched-rgn.c:2413 This is due to the following line gcc_assert (sched_rgn_n_insns == rgn_n_insns); I executed the program with -O2 option. When