diff options
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c index bc6f30c..800ca2a 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2898,7 +2898,7 @@ output_ttype (tree type, int tt_format, int tt_format_size) if (TREE_CODE (type) == ADDR_EXPR) { type = TREE_OPERAND (type, 0); - if (TREE_CODE (type) == VAR_DECL) + if (VAR_P (type)) is_public = TREE_PUBLIC (type); } else |