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]
Other format: [Raw text]

[tree-ssa] Another trivial warning fix


Whee.


       * tree-cfg.c (cleanup_switch_expr_graph): Wrap declaration of
        switch_expr with ENABLE_CHECKING block.

Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-cfg.c,v
retrieving revision 1.1.4.43
diff -c -3 -p -r1.1.4.43 tree-cfg.c
*** tree-cfg.c	15 Jan 2003 19:41:46 -0000	1.1.4.43
--- tree-cfg.c	21 Jan 2003 17:15:04 -0000
*************** static void
*** 1179,1185 ****
--- 1179,1187 ----
  cleanup_switch_expr_graph (switch_bb)
       basic_block switch_bb;
  {
+ #if defined ENABLE_CHECKING
    tree switch_expr = first_stmt (switch_bb);
+ #endif
    edge e;
  
  #if defined ENABLE_CHECKING



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