This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch RFC] SH: Fix build failure


Kaz Kojima wrote:

Hi,

The attached patch is a quick fix for the build failure on
sh*-elf which is caused by the removal of NOTE_INSN_LOOP_*,
though the first hunk is to silence a bogus compile time
warning and logically independent. It simply makes the code
using NOTE_INSN_LOOP_* #if 0'ed out.


A proper solution would be to use basic block frequency and the target
register pressure to judge if it makes sense to save all the target registers.
OTOH, it looks like the SH5 port will have to be removed sooner or later
anyway, so it's probably not worth the effort to do it right.


Regards,
	kaz
--
:ADDPATCH target:

2006-11-13 Kaz Kojima <kkojima@gcc.gnu.org>

* config/sh/sh.c (expand_cbranchdi4): Initialize skip_label.
(sh_optimize_target_register_callee_saved): #if 0 the code
using NOTE_INSN_LOOP_{BEG,END}.


:REVIEWMAIL:
OK.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]