diff options
author | Marek Polacek <polacek@redhat.com> | 2015-06-25 16:38:31 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-06-25 16:38:31 +0000 |
commit | 0ae9bd2715d973460bbf600ca7371add571e3508 (patch) | |
tree | c06da7c9c228125d82710e24882cf0f1975caa4b /gcc/c/c-objc-common.c | |
parent | eee335102e36d60367366895729a48b1a24fb23c (diff) | |
download | gcc-0ae9bd2715d973460bbf600ca7371add571e3508.zip gcc-0ae9bd2715d973460bbf600ca7371add571e3508.tar.gz gcc-0ae9bd2715d973460bbf600ca7371add571e3508.tar.bz2 |
array-notation-common.c: Use VAR_P throughout.
* array-notation-common.c: Use VAR_P throughout.
* c-ada-spec.c: Likewise.
* c-common.c: Likewise.
* c-format.c: Likewise.
* c-gimplify.c: Likewise.
* c-omp.c: Likewise.
* c-pragma.c: Likewise.
* c-pretty-print.c: Likewise.
* cilk.c: Likewise.
* c-array-notation.c: Use VAR_P throughout.
* c-decl.c: Likewise.
* c-objc-common.c: Likewise.
* c-parser.c: Likewise.
* c-typeck.c: Likewise.
From-SVN: r224949
Diffstat (limited to 'gcc/c/c-objc-common.c')
-rw-r--r-- | gcc/c/c-objc-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c/c-objc-common.c b/gcc/c/c-objc-common.c index 0bd3316..a783f80 100644 --- a/gcc/c/c-objc-common.c +++ b/gcc/c/c-objc-common.c @@ -109,7 +109,7 @@ c_tree_printer (pretty_printer *pp, text_info *text, const char *spec, switch (*spec) { case 'D': - if (TREE_CODE (t) == VAR_DECL && DECL_HAS_DEBUG_EXPR_P (t)) + if (VAR_P (t) && DECL_HAS_DEBUG_EXPR_P (t)) { t = DECL_DEBUG_EXPR (t); if (!DECL_P (t)) |