]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/semantics.c
cp-tree.h (language_function): Rename expanding_p to x_expanding_p.
authorMark Mitchell <mark@codesourcery.com>
Fri, 10 Sep 1999 10:19:47 +0000 (10:19 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 10 Sep 1999 10:19:47 +0000 (10:19 +0000)
commited5511d94eaa6e0ac388aad1999bf11d647d3906
tree1f179ea59cdecac15997a4696555b7f93716193d
parentefa8eda3b85969a5da8fde4c9655547a98bbe6b7
cp-tree.h (language_function): Rename expanding_p to x_expanding_p.

* cp-tree.h (language_function): Rename expanding_p to
x_expanding_p.  Rename named_label_uses to x_named_label_uses.
(expanding_p): Adjust accordingly.
(TREE_VIA_PRIVATE): Fix typo in comment.
(DECL_REFERENCE_SLOT): Remove.
(SET_DECL_REFERENCE_SLOT): Likewise.
* decl.c (named_label_uses): Adjust. Remove chicken comment.
(push_overloaded_decl): Don't truncate the chain of bindings when
adding an overloaded function.
(grok_reference_init): Don't use DECL_REFERENCE_SLOT.
(initialize_local_var): Fix typo in comment.
(store_parm_decls): Don't set DECL_REFERENCE_SLOT.  Tidy up.
* decl2.c (start_objects): Make the fact that we are expanding
the generated function right away explicit.
(start_static_storage_duration_function): Likewise.
(finish_file): Fix typo in comment.
* init.c (build_vec_init): Correct bugs in handling cleanups.
* semantics.c (maybe_convert_cond): New function.
(FINISH_COND): Always store the condition, even if there's
a declaration.
(finish_if_stmt_cond): Use maybe_convert_cond.
(finish_while_stmt_cond): Likewise.
(finish_do_stmt): Likewise.
(finish_for_cond): Likewise.
(expand_cond): Adjust.

From-SVN: r29265
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/init.c
gcc/cp/semantics.c