c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
authorGeoffrey Keating <geoffk@apple.com>
Tue, 22 Jul 2003 02:23:27 +0000 (02:23 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Tue, 22 Jul 2003 02:23:27 +0000 (02:23 +0000)
commitd05cc98eafce6ea54bea577e95051a67431ee2db
tree98098a4e404ebad844fcaa48331d8916995c5166
parent905bd7b527bc0134241aad1d566fd55bf09a5ef5
c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.

* c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
(finish_decl): Call maybe_apply_pragma_weak here.
(grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
TREE_PUBLIC and TREE_STATIC are decided.
(start_function): Move call to maybe_apply_pragma_weak.  Check that
DECL_ASSEMBLER_NAME isn't set too early.

From-SVN: r69660
gcc/ChangeLog
gcc/c-decl.c