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]

[PATCH] Fix some nits in clear_unused_block_pointer


This patch fixes some small nits.

Bootstrapped and passed gcc regression tests.

Is it ok for trunk?

Thanks,
Dehao

gcc/ChangeLog:

2012-09-26  Dehao Chen  <dehao@google.com>

* tree-ssa-live.c (clear_unused_block_pointer): Fix two small nits.

Index: gcc/tree-ssa-live.c
===================================================================
--- gcc/tree-ssa-live.c (revision 191765)
+++ gcc/tree-ssa-live.c (working copy)
@@ -627,7 +627,7 @@
    so that they will not be streamed out.  */

 static void
-clear_unused_block_pointer ()
+clear_unused_block_pointer (void)
 {
   basic_block bb;
   gimple_stmt_iterator gsi;
@@ -814,7 +814,7 @@
         }

       FOR_EACH_EDGE (e, ei, bb->succs)
- if (e->goto_locus)
+ if (LOCATION_BLOCK (e->goto_locus))
   TREE_USED (LOCATION_BLOCK (e->goto_locus)) = true;
     }


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