diff options
Diffstat (limited to 'gcc/cp/optimize.c')
-rw-r--r-- | gcc/cp/optimize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c index d1bfd0d..c1cbf52 100644 --- a/gcc/cp/optimize.c +++ b/gcc/cp/optimize.c @@ -686,7 +686,7 @@ expand_call_inline (tp, walk_subtrees, data) return NULL_TREE; } - if (TREE_CODE_CLASS (TREE_CODE (t)) == 't') + if (TYPE_P (t)) /* Because types were not copied in copy_body, CALL_EXPRs beneath them should not be expanded. This can happen if the type is a dynamic array type, for example. */ |