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++
(<https://gcc.gnu.org/ml/gcc-patches/2013-03/msg01271.html>), 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 VAR_OR_FUNCTION_DECL, e.g. in the part below.

Sure, I thought I had dealt with VAR_OR_FUNCTION_DECL_P in
<https://gcc.gnu.org/ml/gcc-patches/2015-05/msg01797.html>, but
I must have missed this.  Thanks,
Consider that follow-up approved as well.
jeff

Reply via email to