diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-09-04 21:04:59 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-09-04 21:04:59 +0000 |
commit | 4f8e1232ccf5587a39047a5b7eb0e5b62a2c8de8 (patch) | |
tree | a4ded5c3fd5087e85a069d5f73b70ecc6a7a4999 /gcc/cp/pt.c | |
parent | 93913281032a15d53d388055a8c1c52c87b1edf3 (diff) | |
download | gcc-4f8e1232ccf5587a39047a5b7eb0e5b62a2c8de8.zip gcc-4f8e1232ccf5587a39047a5b7eb0e5b62a2c8de8.tar.gz gcc-4f8e1232ccf5587a39047a5b7eb0e5b62a2c8de8.tar.bz2 |
decl.c (duplicate_decls): Remove code deadling with DECL_SAVED_INSNS.
* decl.c (duplicate_decls): Remove code deadling with
DECL_SAVED_INSNS.
* decl2.c (finish_file): Likewise.
* pt.c (instantiate_decl): Likewise.
* semantics.c (expand_body): Don't defer local functions if
they wouldn't be deferred for some other reason. Don't
generate RTL for functions that will not be emitted.
(genrtl_start_function): Remove code deadling with
DECL_SAVED_INSNS.
(genrtl_finish_function): Likewise.
From-SVN: r45386
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 471a629..36e6cb5 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -9881,7 +9881,8 @@ instantiate_decl (d, defer_ok) /* Reject all external templates except inline functions. */ else if (DECL_INTERFACE_KNOWN (d) && ! DECL_NOT_REALLY_EXTERN (d) - && ! (TREE_CODE (d) == FUNCTION_DECL && DECL_INLINE (d))) + && ! (TREE_CODE (d) == FUNCTION_DECL + && DECL_INLINE (d))) goto out; /* Defer all other templates, unless we have been explicitly forbidden from doing so. We restore the source position here |