Re: Add used_by_single_function flag for static variables

2014-11-14 Thread Bernhard Reutner-Fischer
On 14 November 2014 00:44, Jan Hubicka wrote: >> Honza, >> >> On 23 June 2014 06:24, Jan Hubicka wrote: >> >> > --- lto-cgraph.c(revision 211881) >> > +++ lto-cgraph.c(working copy) >> > @@ -614,6 +614,7 @@ lto_output_varpool_node (struct lto_simp >> > /* in_other_partit

Re: Add used_by_single_function flag for static variables

2014-11-13 Thread Jan Hubicka
> Honza, > > On 23 June 2014 06:24, Jan Hubicka wrote: > > > --- lto-cgraph.c(revision 211881) > > +++ lto-cgraph.c(working copy) > > @@ -614,6 +614,7 @@ lto_output_varpool_node (struct lto_simp > > /* in_other_partition. */ > > } > >bp_pack_value (&bp, node->

Re: Add used_by_single_function flag for static variables

2014-11-13 Thread Bernhard Reutner-Fischer
Honza, On 23 June 2014 06:24, Jan Hubicka wrote: > --- lto-cgraph.c(revision 211881) > +++ lto-cgraph.c(working copy) > @@ -614,6 +614,7 @@ lto_output_varpool_node (struct lto_simp > /* in_other_partition. */ > } >bp_pack_value (&bp, node->tls_model, 3); > +

Re: Add used_by_single_function flag for static variables

2014-06-25 Thread Richard Biener
On Mon, 23 Jun 2014, Jan Hubicka wrote: > Hi, > this is patch to add the used_by_single_function flag to varpool. In full > generality > it is a simple dataflow problem, since the variable may be referred by other > variables > as long as all of them are used by one function only. I have > bo