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]

Unused variables


         
	* fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
	(associate_trees): Delete unused var TEM.
	(extract_muldiv): Delete unused var CANCEL_P.

Index: fold-const.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/fold-const.c,v
retrieving revision 1.85
diff -c -p -r1.85 fold-const.c
*** fold-const.c	1999/11/27 13:50:13	1.85
--- fold-const.c	1999/11/29 16:39:56
*************** split_tree (in, code, conp, litp, negate
*** 1271,1278 ****
       tree *conp, *litp;
       int negate_p;
  {
-   tree orig_in = in;
-   tree type = TREE_TYPE (in);
    tree var = 0;
  
    *conp = 0;
--- 1271,1276 ----
*************** associate_trees (t1, t2, code, type)
*** 1350,1357 ****
       enum tree_code code;
       tree type;
  {
-   tree tem;
- 
    if (t1 == 0)
      return t2;
    else if (t2 == 0)
--- 1348,1353 ----
*************** extract_muldiv (t, c, code, wide_type)
*** 4273,4280 ****
  		? wide_type : type);
    tree t1, t2;
    int same_p = tcode == code;
-   int cancel_p
-     = (code == MULT_EXPR && tcode == EXACT_DIV_EXPR)  || tcode == MULT_EXPR;
    tree op0, op1;
  
    /* Don't deal with constants of zero here; they confuse the code below.  */
--- 4269,4274 ----


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