summaryrefslogtreecommitdiff
path: root/gcc/is-a.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/is-a.h')
-rw-r--r--gcc/is-a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/is-a.h b/gcc/is-a.h
index ccf12be3d90..15540e40d8e 100644
--- a/gcc/is-a.h
+++ b/gcc/is-a.h
@@ -112,7 +112,7 @@ example,
inline bool
is_a_helper <cgraph_node>::test (symtab_node_base *p)
{
- return p->symbol.type == SYMTAB_FUNCTION;
+ return p->type == SYMTAB_FUNCTION;
}
If a simple reinterpret_cast between the pointer types is incorrect, then you