diff options
author | Richard Henderson <rth@redhat.com> | 2005-01-01 23:52:31 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-01-01 23:52:31 -0800 |
commit | bedb9fc04bb56b56d8af671bdfe28cc9052622ec (patch) | |
tree | 9fcf4185c5360e802ff2cef25c68d1cd2b7178d6 /gcc/c-lang.c | |
parent | 1cb2fc7b18423a905d0c646dc7b0b6b5a023de36 (diff) | |
download | gcc-bedb9fc04bb56b56d8af671bdfe28cc9052622ec.zip gcc-bedb9fc04bb56b56d8af671bdfe28cc9052622ec.tar.gz gcc-bedb9fc04bb56b56d8af671bdfe28cc9052622ec.tar.bz2 |
re PR c/19031 (#pragma weak handling changes in 4.0.0)
PR c/19031
* c-decl.c (pop_file_scope): Call maybe_apply_pending_pragma_weaks.
* c-lang.c (finish_file): Don't do it here.
* objc/objc-act.c (objc_finish_file): Likewise.
* cgraph.c (decl_assembler_name_equal): New.
(cgraph_node_for_asm, cgraph_varpool_node_for_asm): New.
(cgraph_varpool_node): Actually link up cgraph_varpool_nodes.
* cgraph.h (struct cgraph_varpool_node): Add next.
(cgraph_node_for_asm, cgraph_varpool_node_for_asm): Declare.
* varasm.c (assemble_alias): Mark the target as needed.
From-SVN: r92803
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r-- | gcc/c-lang.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c index 1552448..5217102 100644 --- a/gcc/c-lang.c +++ b/gcc/c-lang.c @@ -89,7 +89,6 @@ const char *const tree_code_name[] = { void finish_file (void) { - maybe_apply_pending_pragma_weaks (); } #include "gtype-c.h" |