diff options
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index ced8c51..4792b34 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -2450,7 +2450,7 @@ expand_body (fn) /* Compute the appropriate object-file linkage for inline functions. */ - if (DECL_INLINE (fn)) + if (DECL_DECLARED_INLINE_P (fn)) import_export_decl (fn); /* Emit any thunks that should be emitted at the same time as FN. */ |