diff options
Diffstat (limited to 'gcc/c-objc-common.c')
-rw-r--r-- | gcc/c-objc-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-objc-common.c b/gcc/c-objc-common.c index facaeafd82e..d4ad1f89f26 100644 --- a/gcc/c-objc-common.c +++ b/gcc/c-objc-common.c @@ -198,7 +198,7 @@ c_tree_printer (pretty_printer *pp, text_info *text, const char *spec, case 'T': gcc_assert (TYPE_P (t)); name = TYPE_NAME (t); - + if (name && TREE_CODE (name) == TYPE_DECL) { if (DECL_NAME (name)) |