This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch RFA] Fix bootstrap failure on sh4-*-linux-gnu
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Cc: joern dot rennecke at st dot com, aoliva at redhat dot com
- Date: Wed, 27 Sep 2006 19:36:45 +0900 (JST)
- Subject: [patch RFA] Fix bootstrap failure on sh4-*-linux-gnu
Hi,
Without the attached tiny patch, the mainline doesn't bootstrap
on the native sh4-unknown-linux-gnu environment with the warning
for an unused variable:
cc1: warnings being treated as errors
../../TMP/trunk/gcc/config/sh/sh.md: In function 'gen_divsi_inv_m0':
../../TMP/trunk/gcc/config/sh/sh.md:2308: warning: unused variable 'mem'
Ok for mainline?
Regards,
kaz
--
:ADDPATCH target:
2006-09-27 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (divsi_inv_m0): Remove unused variable.
--- ORIG/trunk/gcc/config/sh/sh.md 2006-09-08 06:14:26.000000000 +0900
+++ LOCAL/trunk/gcc/config/sh/sh.md 2006-09-26 16:36:08.000000000 +0900
@@ -2305,7 +2305,6 @@ norm32: r25
rtx scratch0 = operands[4];
rtx scratch0_si = simplify_gen_subreg (SImode, scratch0, DImode, SIDI_OFF);
rtx scratch1 = operands[5];
- rtx mem;
emit_insn (gen_divsi_inv_qitable (scratch0, tab_base, tab_ix));
emit_insn (gen_ashldi3_media (scratch1, tab_ix, GEN_INT (1)));