OSDN Git Service

* cp-tree.h (lang_decl_flags): Rename saved_inline to deferred.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Apr 2000 16:30:45 +0000 (16:30 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Apr 2000 16:30:45 +0000 (16:30 +0000)
commitbfb69cfefccebb49a318599f70d0e1802d741c64
tree54067aefa5b18e7f59ae0b293a456fcf23aa9f82
parent1257ede8b81753c083ca2acabde31ec5a5c22bab
* cp-tree.h (lang_decl_flags): Rename saved_inline to deferred.
(DECL_SAVED_INLINE): Rename to ...
(DECL_DEFERRED_FN): ... this.
(in_function_p): Remove declaration.
(mark_inline_for_output): Rename to ...
(defer_fn): ... this.
* decl.c (finish_function): Adjust call to mark_inline_for_output.
(in_function_p): Remove definition.
* decl2.c (saved_inlines): Rename to ...
(deferred_fns): ... this.
(saved_inlines_used): Rename to ...
(deferred_fns_used): ... this.
(mark_inline_for_output): Rename to ...
(defer_fn): ... this.
(finish_file): Adjust accordingly.
(init_decl2): Likewise.
* lex.c (cons_up_default_function): Likewise.
* pt.c (mark_decl_instantiated): Likewise.
(instantiate_decl): Don't set DECL_DEFER_OUTPUT under any
circumstances.
* rtti.c (get_tinfo_decl): Adjust call to mark_inline_for_output.
* semantics.c (expand_body): Defer more functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32973 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/lex.c
gcc/cp/pt.c
gcc/cp/rtti.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.bugs/900205_03.C
gcc/testsuite/g++.old-deja/g++.jason/offset2.C
gcc/testsuite/g++.old-deja/g++.jason/opeq.C
gcc/testsuite/g++.old-deja/g++.law/operators16.C
gcc/testsuite/g++.old-deja/g++.law/operators17.C
gcc/testsuite/g++.old-deja/g++.mike/net26.C
gcc/testsuite/g++.old-deja/g++.mike/virt3.C
gcc/testsuite/g++.old-deja/g++.mike/virt6.C