[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 30 02:39:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833

--- Comment #18 from Oleg Endo <olegendo at gcc dot gnu.org> ---
BTW, in sh_reorg there is...

  label_ref_list_d::pool.release ();
  for (insn = first; insn; insn = NEXT_INSN (insn))
    PUT_MODE (insn, VOIDmode);

  mdep_reorg_phase = SH_SHORTEN_BRANCHES1;
  INSN_ADDRESSES_FREE ();
  split_branches (first);

Kaz, do you know why that PUT_MODE loop above is required?



More information about the Gcc-bugs mailing list