This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/83530] [8 Regression] ICE in reset_sched_cycles_in_current_ebb, at sel-sched.c:7150
- 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: Wed, 07 Feb 2018 09:54:13 +0000
- Subject: [Bug rtl-optimization/83530] [8 Regression] ICE in reset_sched_cycles_in_current_ebb, at sel-sched.c:7150
- Auto-submitted: auto-generated
- References: <bug-83530-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83530
--- Comment #8 from Andrey Belevantsev <abel at gcc dot gnu.org> ---
(In reply to Pat Haugen from comment #7)
> Assuming this is a latent selective scheduling bug since I can reproduce
> with r243865 by adding -fsched-pressure --param sched-pressure-algorithm=2.
> Looking...
I will take a look. The ICE is within the code that models the scheduling loop
in order to get the proper insn ticks and everything for later MD processing
(it is equivalent to always scheduling the next insn). Either there is an
issue in that loop that wasn't uncovered anywhere but powerpc or there is some
subtlety in the powerpc cpu model that is triggered there. It is not very
pleasant to find out and fix usually so it will take time.