diff options
author | obrien <obrien@FreeBSD.org> | 2002-12-04 15:59:56 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-12-04 15:59:56 +0000 |
commit | 8f4ce55b2c5d08ff2d3f6b14fcf1af8dff73d7e2 (patch) | |
tree | c6794b984787f04d2f755e0948b669faa17b8fe4 /contrib/gcc | |
parent | 663dcc27f05d324b59c49ef8410ee15ee65ed2e3 (diff) | |
download | FreeBSD-src-8f4ce55b2c5d08ff2d3f6b14fcf1af8dff73d7e2.zip FreeBSD-src-8f4ce55b2c5d08ff2d3f6b14fcf1af8dff73d7e2.tar.gz |
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.
Diffstat (limited to 'contrib/gcc')
-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) |