aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-12-04 15:59:56 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-12-04 15:59:56 +0000
commit991cc708ace12678aada810fa2d361abd5e4a0f6 (patch)
treec6794b984787f04d2f755e0948b669faa17b8fe4
parent8648049b51dc104b71b3e0b9aebbbe9ad398d06c (diff)
Notes
-rw-r--r--contrib/gcc/toplev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gcc/toplev.c b/contrib/gcc/toplev.c
index 22463973c25e..8b60d9e71720 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)