Re: C++ PATCH to use VAR_P

2015-06-26 Thread Jason Merrill
OK. Jason

Re: C PATCH to use VAR_P

2015-06-24 Thread Jeff Law
On 06/24/2015 06:45 AM, Marek Polacek wrote: On Wed, Jun 24, 2015 at 02:37:30PM +0200, Uros Bizjak wrote: Hello! Similarly to what Gaby did in 2013 for C++ (), this patch makes the c/ and c-family/ code use VAR_P rather than TREE_CO

Re: C PATCH to use VAR_P

2015-06-24 Thread Jeff Law
On 06/24/2015 06:25 AM, Marek Polacek wrote: Similarly to what Gaby did in 2013 for C++ (), this patch makes the c/ and c-family/ code use VAR_P rather than TREE_CODE (t) == VAR_DECL (This is on top of the previous patch with is_globa

Re: C PATCH to use VAR_P

2015-06-24 Thread Marek Polacek
On Wed, Jun 24, 2015 at 02:37:30PM +0200, Uros Bizjak wrote: > Hello! > > > Similarly to what Gaby did in 2013 for C++ > > (), this patch > > makes the c/ and c-family/ code use VAR_P rather than > > > > TREE_CODE (t) == VAR_DECL > > > >

Re: C PATCH to use VAR_P

2015-06-24 Thread Uros Bizjak
Hello! > Similarly to what Gaby did in 2013 for C++ > (), this patch > makes the c/ and c-family/ code use VAR_P rather than > > TREE_CODE (t) == VAR_DECL > > (This is on top of the previous patch with is_global_var.) You could also use