OSDN Git Service

* pt.c (do_decl_instantiation): Downgrade duplicate instantiation
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jul 1999 11:05:23 +0000 (11:05 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jul 1999 11:05:23 +0000 (11:05 +0000)
commit8036fa43a36a2df0d9ce3e116398d7e6ff270e9d
treef2f5e66b69e7e045db05f19c706201f1b67d06f8
parent3aeaf55f64d3f48e6a58c9c2ae61c40c6d2ef80e
* pt.c (do_decl_instantiation): Downgrade duplicate instantiation
errors to pedwarn.
* typeck.c (comptypes): Simplify C code in look_hard.
* xref.c (PALLOC): Use xcalloc, not calloc.
(SALLOC): Use xmalloc, not malloc.
* rtti.c (synthesize_tinfo_fn): Add missing call to pop_momentary.
* search.c (note_debug_info_needed): Don't search if WRITE_SYMBOLS
is NO_DEBUG.
* decl.c (duplicate_decls): If a redeclaration doesn't match the
initial declaration, then don't save the inline info and by all
means don't mark the function as a builtin function.
* decl.c (lookup_name_real): Set NONCLASS to 1 if
CURRENT_CLASS_TYPE is 0.
* class.c (duplicate_tag_error): Set TYPE_NONCOPIED_PARTS to
NULL_TREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28044 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/ptree.c
gcc/cp/rtti.c
gcc/cp/search.c
gcc/cp/typeck.c
gcc/cp/xref.c