This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17982] stop calling assemble_external before final assembly output time
- From: "kazu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2006 02:47:41 -0000
- Subject: [Bug middle-end/17982] stop calling assemble_external before final assembly output time
- References: <bug-17982-50@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #30 from kazu at gcc dot gnu dot org 2006-12-16 02:47 -------
Subject: Bug 17982
Author: kazu
Date: Sat Dec 16 02:47:27 2006
New Revision: 119959
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119959
Log:
Backport from mainline:
gcc/
2006-12-11 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/17982
PR middle-end/20218
* cgraphunit.c (cgraph_optimize): Remove call to
process_pending_assemble_externals.
* config/elfos.h (ASM_OUTPUT_EXTERNAL): New.
* config/ia64/hpux.h (TARGET_ASM_FILE_END): Removed.
* config/ia64/ia64.c (ia64_asm_output_external): Rewritten.
(ia64_hpux_add_extern_decl): Removed.
(ia64_hpux_file_end): Likewise.
(extern_func_list): Likewise.
(extern_func_head): Likewise.
* output.h (assemble_external): Update comments.
(default_elf_asm_output_external): New.
(maybe_assemble_visibility): New.
* toplev.c (compile_file): Update comment.
* varasm.c (assemble_external): Always put it on
pending_assemble_externals.
(maybe_assemble_visibility): Make it extern and return int.
(default_elf_asm_output_external): New.
Modified:
branches/csl/sourcerygxx-4_1/ChangeLog.csl
branches/csl/sourcerygxx-4_1/gcc/cgraphunit.c
branches/csl/sourcerygxx-4_1/gcc/config/elfos.h
branches/csl/sourcerygxx-4_1/gcc/config/ia64/hpux.h
branches/csl/sourcerygxx-4_1/gcc/config/ia64/ia64.c
branches/csl/sourcerygxx-4_1/gcc/output.h
branches/csl/sourcerygxx-4_1/gcc/toplev.c
branches/csl/sourcerygxx-4_1/gcc/varasm.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982