* cp-tree.h (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK): New macro.
authorloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 1999 23:11:58 +0000 (23:11 +0000)
committerloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 1999 23:11:58 +0000 (23:11 +0000)
commit2cafdfc9639416869b9cae510a14878abc20a641
tree3a2d5b2d2ea6a81be81deb66093129b9d26e96db
parent1f45e4d56c022f0f356e38cb075ee183e153310c
* cp-tree.h (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK): New macro.
(DECL_TEMPLATE_INFO): Use it.
* decl.c (warn_extern_redeclared_static): Do nothing for
TEMPLATE_DECLs.
* decl2.c (mark_used): Explicitly check for function or variable.
* semantics.c (finish_unary_op_expr): Check whether result is also
an INTEGER_CST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30426 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/semantics.c