This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/45352] ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058
- From: "abel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Dec 2010 12:10:43 +0000
- Subject: [Bug rtl-optimization/45352] ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058
- Auto-submitted: auto-generated
- References: <bug-45352-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45352
--- Comment #22 from Andrey Belevantsev <abel at gcc dot gnu.org> 2010-12-21 12:10:32 UTC ---
Created attachment 22834
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22834
Another patch
This patch should fix the last attachment from this bug and also the tests from
46521/46522. The patch solves two problems:
- propagates the rescheduling bits also through empty blocks;
- fixes the (wrong) assumption that if we need to stall for N cycles because of
the DFA, and for M > N cycles because of the data dependency, then after M
cycles the DFA will be ready to issue. Actually, we need to recheck the DFA
after M cycles again.
I will submit the patch tomorrow after further testing and I can commit it
either until Friday or next January, so Zdenek, please let me know if there are
further problems with this patch.