On 9/4/26 6:50 PM, H.J. Lu wrote:
On Sat, Sep 5, 2026 at 8:35 AM wangjue <[email protected]> wrote:
From: juewang <[email protected]>
m68k_sched_issue_rate can be called for targets without a scheduling
model. Return 1 for those targets instead of calling gcc_unreachable.
Add tests for if-conversion costing on single-issue and multi-issue
targets.
Assisted-by: Codex (OpenAI)
gcc/ChangeLog:
* config/m68k/m68k.cc (m68k_sched_issue_rate): Return one for CPUs
without a scheduling model.
Need a generic test which triggers ICE without the change.
I don't necessarily think so. The problem highly specific to a bug in
the m68k backend and existing tests cover this problem.
jeff