Commit 6040bb5f by Dehao Chen Committed by Dehao Chen

tree-ssa-live.c (clear_unused_block_pointer): Use explicitit (void) for function parameter.

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

	* tree-ssa-live.c (clear_unused_block_pointer): Use explicitit (void)
	for function parameter.
	(remove_unused_locals): Don't use LOCATION_BLOCK if it is NULL.

From-SVN: r191779
parent 9c7f5544
2012-09-26 Dehao Chen <dehao@google.com>
* tree-ssa-live.c (clear_unused_block_pointer): Use explicitit (void)
for function parameter.
(remove_unused_locals): Don't use LOCATION_BLOCK if it is NULL.
2012-09-26 Oleg Endo <olegendo@gcc.gnu.org> 2012-09-26 Oleg Endo <olegendo@gcc.gnu.org>
* doc/extend.texi (bswap Builtins): Change signed types to unsigned * doc/extend.texi (bswap Builtins): Change signed types to unsigned
...@@ -132,12 +138,6 @@ ...@@ -132,12 +138,6 @@
* lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Do not merge * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Do not merge
cgraph nodes for builtins. cgraph nodes for builtins.
2012-09-25 Dehao Chen <dehao@google.com>
PR middle-end/54645
* c-family/c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data
map when read in the pch.
2012-09-25 Jakub Jelinek <jakub@redhat.com> 2012-09-25 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/54676 PR tree-optimization/54676
......
2012-09-25 Dehao Chen <dehao@google.com>
PR middle-end/54645
* c-family/c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data
map when read in the pch.
2012-09-18 Arnaud Charlet <charlet@adacore.com> 2012-09-18 Arnaud Charlet <charlet@adacore.com>
* c-ada-spec.c: Style fixes. * c-ada-spec.c: Style fixes.
......
...@@ -627,7 +627,7 @@ clear_unused_block_pointer_1 (tree *tp, int *, void *) ...@@ -627,7 +627,7 @@ clear_unused_block_pointer_1 (tree *tp, int *, void *)
so that they will not be streamed out. */ so that they will not be streamed out. */
static void static void
clear_unused_block_pointer () clear_unused_block_pointer (void)
{ {
basic_block bb; basic_block bb;
gimple_stmt_iterator gsi; gimple_stmt_iterator gsi;
...@@ -814,7 +814,7 @@ remove_unused_locals (void) ...@@ -814,7 +814,7 @@ remove_unused_locals (void)
} }
FOR_EACH_EDGE (e, ei, bb->succs) FOR_EACH_EDGE (e, ei, bb->succs)
if (e->goto_locus) if (LOCATION_BLOCK (e->goto_locus) != NULL)
TREE_USED (LOCATION_BLOCK (e->goto_locus)) = true; TREE_USED (LOCATION_BLOCK (e->goto_locus)) = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment