diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index c494e1c0b92..f772d605b82 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -12811,6 +12811,9 @@ finish_function (int flags) if (fndecl == NULL_TREE) return error_mark_node; + if (c_dialect_objc ()) + objc_finish_function (); + gcc_assert (!defer_mark_used_calls); defer_mark_used_calls = true; |