diff options
author | Jason Merrill <jason@redhat.com> | 2000-06-15 17:24:39 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-06-15 17:24:39 -0400 |
commit | 297a5329dca4f22150ec201d48b8de8a730f6447 (patch) | |
tree | 8ef4fe73525824ae88ccfba0772d1ad4632e748a /gcc/cp/typeck.c | |
parent | f5e6b7bc9e27420b063970b49bb62bcea1bff43d (diff) | |
download | gcc-297a5329dca4f22150ec201d48b8de8a730f6447.zip gcc-297a5329dca4f22150ec201d48b8de8a730f6447.tar.gz gcc-297a5329dca4f22150ec201d48b8de8a730f6447.tar.bz2 |
tree.c (count_trees): New debugging function.
* tree.c (count_trees): New debugging function.
* typeck.c (build_x_function_call): Use DECL_FUNCTION_TEMPLATE_P.
* init.c (build_member_call): Pull out the name of a DECL.
* Makefile.in (semantics.o, pt.o): Depend on TIMEVAR_H.
* semantics.c (expand_body): Push to TV_INTEGRATION here.
* optimize.c (optimize_function): Not here.
* pt.c (instantiate_decl): Push to TV_PARSE.
From-SVN: r34568
Diffstat (limited to 'gcc/cp/typeck.c')
-rw-r--r-- | gcc/cp/typeck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 28ac0f3..b167c7e 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -2578,7 +2578,7 @@ build_x_function_call (function, params, decl) if ((TREE_CODE (function) == FUNCTION_DECL && DECL_STATIC_FUNCTION_P (function)) - || (TREE_CODE (function) == TEMPLATE_DECL + || (DECL_FUNCTION_TEMPLATE_P (function) && DECL_STATIC_FUNCTION_P (DECL_TEMPLATE_RESULT (function)))) return build_member_call (DECL_CONTEXT (function), template_id |