From 8f4ce55b2c5d08ff2d3f6b14fcf1af8dff73d7e2 Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 4 Dec 2002 15:59:56 +0000 Subject: Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob), 1.14 (-O/-O1 optimize alignment for time, not size) into Gcc 3.2.1 release. --- contrib/gcc/toplev.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib') 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) -- cgit v1.1