Message ID | 1370381363.22768.51.camel@surprise |
---|---|
State | New |
Headers | show |
On 06/04/2013 03:29 PM, David Malcolm wrote: > call_stmt_vars is only used inside of tree-ssa-structalias.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-04 David Malcolm <dmalcolm@redhat.com> > > * tree-ssa-structalias.c (call_stmt_vars): Make static. OK. Please install. Thanks, Jeff
On Tue, 2013-06-04 at 15:43 -0600, Jeff Law wrote: > On 06/04/2013 03:29 PM, David Malcolm wrote: > > call_stmt_vars is only used inside of tree-ssa-structalias.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-04 David Malcolm <dmalcolm@redhat.com> > > > > * tree-ssa-structalias.c (call_stmt_vars): Make static. > OK. Please install. Thanks; committed to SVN trunk as r199679.
Index: gcc/tree-ssa-structalias.c =================================================================== --- gcc/tree-ssa-structalias.c (revision 199669) +++ gcc/tree-ssa-structalias.c (working copy) @@ -382,7 +382,7 @@ /* A map mapping call statements to per-stmt variables for uses and clobbers specific to the call. */ -struct pointer_map_t *call_stmt_vars; +static struct pointer_map_t *call_stmt_vars; /* Lookup or create the variable for the call statement CALL. */