This is the mail archive of the
mailing list for the GCC project.
Re: [patch RFC] SH: Fix build failure
- From: Joern RENNECKE <joern dot rennecke at st dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Mon, 13 Nov 2006 17:43:59 +0000
- Subject: Re: [patch RFC] SH: Fix build failure
- References: <email@example.com>
Kaz Kojima wrote:
Hi,A proper solution would be to use basic block frequency and the target
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.
register pressure to judge if it makes sense to save all the target
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.
2006-11-13 Kaz Kojima <firstname.lastname@example.org>
* config/sh/sh.c (expand_cbranchdi4): Initialize skip_label.
(sh_optimize_target_register_callee_saved): #if 0 the code