]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-common.h
c-common.h (make_fname_decl): Declare.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 8 Mar 2000 11:21:28 +0000 (11:21 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 8 Mar 2000 11:21:28 +0000 (11:21 +0000)
commit2ce07e2d9247f692e424385deb1e8b154bf1b388
treed0c5ae25c2c3150c4c348ac64a3fdbdef73e015a
parent8ce5ef1923e1bc826b4159ecee825db5fc9b8cd9
c-common.h (make_fname_decl): Declare.

gcc:
* c-common.h (make_fname_decl): Declare.
* c-common.c (make_fname_decl): Define.
(declare_hidden_char_array): Remove.
(declare_function_name): Use make_fname_decl.
* c-decl.c (c_make_fname_decl): New function.
(init_decl_processing): Set make_fname_decl.

gcc/cp:
* decl.c (cp_make_fname_decl): New function.
(wrapup_globals_for_namespace): Don't emit unused static vars.
(init_decl_processing): Remove comment about use of
array_domain_type. Set make_fname_decl.
(cp_finish_decl): Remove __FUNCTION__ nadgering.
* semantics.c (begin_compound_stmt): Remove
current_function_name_declared flagging.
(expand_stmt): Don't emit unused local statics.
* typeck.c (decay_conversion): Don't treat __FUNCTION__ decls
specially.

From-SVN: r32418
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/cp/typeck.c