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]

PATCH: gcc/cse.c: warning removal


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;

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