This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: gcc/cse.c: warning removal
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: gcc/cse.c: warning removal
- From: Rodney Brown <rdb at localhost>
- Date: Thu, 17 Aug 2000 08:20:48 +1000 (EST)
- Reply-To: RDBrown at mira dot net, RodneyBrown at mynd dot com
egcs-20000814/gcc/cse.c: In function `insert_regs':
egcs-20000814/gcc/cse.c:1276: warning: unused variable `regno'
2000-08-16 Rodney Brown <RodneyBrown@mynd.com>
* cse.c(insert_regs): Remove unused `regno'.
--- gcc/cse.c.orig Tue Aug 15 11:46:40 2000
+++ gcc/cse.c Wed Aug 16 16:39:20 2000
@@ -1273,8 +1273,6 @@ insert_regs (x, classp, modified)
else if (GET_CODE (x) == SUBREG && GET_CODE (SUBREG_REG (x)) == REG
&& ! REGNO_QTY_VALID_P (REGNO (SUBREG_REG (x))))
{
- unsigned int regno = REGNO (SUBREG_REG (x));
-
insert_regs (SUBREG_REG (x), NULL_PTR, 0);
mention_regs (x);
return 1;