diff options
Diffstat (limited to 'contrib/gcc/toplev.c')
-rw-r--r-- | contrib/gcc/toplev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gcc/toplev.c b/contrib/gcc/toplev.c index 2246397..8b60d9e 100644 --- a/contrib/gcc/toplev.c +++ b/contrib/gcc/toplev.c @@ -2418,6 +2418,9 @@ rest_of_compilation (decl) DECL_INITIAL (decl) = 0; goto exit_rest_of_compilation; } + else if (TYPE_P (parent)) + /* A function in a local class should be treated normally. */ + break; /* If requested, consider whether to make this function inline. */ if ((DECL_INLINE (decl) && !flag_no_inline) |