Patchwork tree-into-ssa.c: make interesting_blocks static

login
register
mail settings
Submitter David Malcolm
Date June 7, 2013, 5:36 p.m.
Message ID <1370626584.2126.18.camel@surprise>
Download mbox | patch
Permalink /patch/249777/
State New
Headers show

Comments

David Malcolm - June 7, 2013, 5:36 p.m.
"interesting_blocks" is only used inside tree-into-ssa.c, so it can be
made static.

Successfully bootstrapped on x86_64-unknown-linux-gnu (using
gcc-4.7.2-2.fc17.x86_64).

OK for trunk?

2013-06-07  David Malcolm  <dmalcolm@redhat.com>

	* tree-into-ssa.c (interesting_blocks): Make static.
Richard Henderson - June 10, 2013, 7:32 p.m.
On 06/07/2013 10:36 AM, David Malcolm wrote:
> 	* tree-into-ssa.c (interesting_blocks): Make static.

Ok.


r~
David Malcolm - June 10, 2013, 8:26 p.m.
On Mon, 2013-06-10 at 12:32 -0700, Richard Henderson wrote:
> On 06/07/2013 10:36 AM, David Malcolm wrote:
> > 	* tree-into-ssa.c (interesting_blocks): Make static.
> 
> Ok.

Thanks; committed to svn trunk as r199911.
Jeff Law - June 11, 2013, 4:22 p.m.
On 06/07/13 11:36, David Malcolm wrote:
> "interesting_blocks" is only used inside tree-into-ssa.c, so it can be
> made static.
>
> Successfully bootstrapped on x86_64-unknown-linux-gnu (using
> gcc-4.7.2-2.fc17.x86_64).
>
> OK for trunk?
>
> 2013-06-07  David Malcolm  <dmalcolm@redhat.com>
>
> 	* tree-into-ssa.c (interesting_blocks): Make static.
OK for trunk.

jeff

Patch

Index: gcc/tree-into-ssa.c
===================================================================
--- gcc/tree-into-ssa.c	(revision 199816)
+++ gcc/tree-into-ssa.c	(working copy)
@@ -93,7 +93,7 @@ 
    the operations done on them are presence tests.  */
 static sbitmap new_ssa_names;
 
-sbitmap interesting_blocks;
+static sbitmap interesting_blocks;
 
 /* Set of SSA names that have been marked to be released after they
    were registered in the replacement table.  They will be finally