diff options
-rw-r--r-- | odb/parser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/parser.cxx b/odb/parser.cxx index edb5876..e011663 100644 --- a/odb/parser.cxx +++ b/odb/parser.cxx @@ -1786,7 +1786,7 @@ emit_type_name (tree type, bool direct) { tree t (TREE_TYPE (decl)); - if (same_type_p (type, t)) + if (t != 0 && same_type_p (type, t)) return IDENTIFIER_POINTER (DECL_NAME (decl)); } } |