diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2000-06-29 14:03:10 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-06-29 14:03:10 +0000 |
commit | c727aa5e2813c510b1da0d8e5f61160c1fa01ceb (patch) | |
tree | d93a67a5dabbeae5713903efa5fa698e0af14c2a /gcc/cp/method.c | |
parent | 0900331b7a7b277ebc5c3644a3dd2de7babfa702 (diff) | |
download | gcc-c727aa5e2813c510b1da0d8e5f61160c1fa01ceb.tar.gz |
cp-tree.h (SET_DECL_ARTIFICIAL): Remove.
* cp-tree.h (SET_DECL_ARTIFICIAL): Remove.
* decl.c (create_implicit_typedef): Adjust.
* decl2.c (build_artificial_parm): Adjust.
* method.c (implicitly_declare_fn): Adjust.
* pt.c (push_inline_template_parms_recursive): Adjust.
(process_template_parm): Adjust.
(overloaded_template_name): Adjust.
* semantics.c (finish_template_template_parm): Adjust.
From-SVN: r34780
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 07543fc2d21..f8e9bc2b944 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -2644,8 +2644,8 @@ implicitly_declare_fn (kind, type, const_p) my_friendly_assert (TREE_CODE (fn) == FUNCTION_DECL, 20000408); if (kind != sfk_constructor && kind != sfk_destructor) - SET_DECL_ARTIFICIAL (TREE_CHAIN (DECL_ARGUMENTS (fn))); - SET_DECL_ARTIFICIAL (fn); + DECL_ARTIFICIAL (TREE_CHAIN (DECL_ARGUMENTS (fn))) = 1; + DECL_ARTIFICIAL (fn) = 1; DECL_NOT_REALLY_EXTERN (fn) = 1; DECL_THIS_INLINE (fn) = 1; DECL_INLINE (fn) = 1; |