http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50068
Kazumoto Kojima <kkojima at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|shle--netbsdelf |sh*-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2011-08-16 CC| |kkojima at gcc dot gnu.org Ever Confirmed|0 |1 Known to fail| |4.4.6, 4.5.3, 4.6.1, 4.7.0 --- Comment #5 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2011-08-16 13:00:12 UTC --- I've added gcc_assert (last_basic_block >= NUM_FIXED_BLOCKS) line to init_resource_info and confirmed that trunk and all released branches fail with the testcase given in #1 for sh4-unknown-linux-gnu. Perhaps if (optimize > 0 && flag_delayed_branch) dbr_schedule (insns); in sh.c:sh_output_mi_thunk might not be a big deal. I'm testing a patch which simply removes these lines.