This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Another trivial warning fix
- From: law at redhat dot com
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 21 Jan 2003 10:20:10 -0700
- Subject: [tree-ssa] Another trivial warning fix
- Reply-to: law at redhat dot com
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