pt.c (do_decl_instantiation): Downgrade duplicate instantiation errors to pedwarn.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 9 Jul 1999 11:05:23 +0000 (07:05 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 9 Jul 1999 11:05:23 +0000 (07:05 -0400)
commit6f1b4c42790b1a8083ae217facb58eb3f0cfa819
treef2f5e66b69e7e045db05f19c706201f1b67d06f8
parent22b452e755aa611d40f7c9317686ce50ce5c6fff
pt.c (do_decl_instantiation): Downgrade duplicate instantiation errors to pedwarn.

* 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.

From-SVN: r28044
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