aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-04-06 06:33:07 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-04-06 06:33:07 +0000
commit79065db2d1a2faad16bd046fcd02812e6259a27a (patch)
tree79c3ec5ac8a7cfa8fe8b7c1d0050e9298f12ece2 /gcc/cp/semantics.c
parentb03eced6f6609e6e2a6b160a705d79a4ebb0eb2f (diff)
downloadgcc-79065db2d1a2faad16bd046fcd02812e6259a27a.zip
gcc-79065db2d1a2faad16bd046fcd02812e6259a27a.tar.gz
gcc-79065db2d1a2faad16bd046fcd02812e6259a27a.tar.bz2
cp-tree.h (DECL_THIS_INLINE): Rename to DECL_DECLARED_INLINE_P.
* cp-tree.h (DECL_THIS_INLINE): Rename to DECL_DECLARED_INLINE_P. * decl.c (duplicate_decls): Adjust accordingly. (maybe_commonize_var): Likewise. (grokfndecl): Likewise. (start_function): Likewise. (start_method): Likewise. * decl2.c (key_method): Likewise. (import_export_decl): Likewise. * method.c (implicitly_declare_fn): Likewise. * optimize.c (maybe_clone_body): Likewise. From-SVN: r41144
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index ced8c51..4792b34 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2450,7 +2450,7 @@ expand_body (fn)
/* Compute the appropriate object-file linkage for inline
functions. */
- if (DECL_INLINE (fn))
+ if (DECL_DECLARED_INLINE_P (fn))
import_export_decl (fn);
/* Emit any thunks that should be emitted at the same time as FN. */