diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2006-12-12 03:58:52 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2006-12-11 19:58:52 -0800 |
commit | c47c29c8964d7c80329574f4a3b9c70f2fa533b4 (patch) | |
tree | 39fa7bd559e89365079d4e0441db0929ccb97dd5 /gcc/toplev.c | |
parent | 864abd46caa11641fe0588e31d1e19135c29f476 (diff) | |
download | gcc-c47c29c8964d7c80329574f4a3b9c70f2fa533b4.zip gcc-c47c29c8964d7c80329574f4a3b9c70f2fa533b4.tar.gz gcc-c47c29c8964d7c80329574f4a3b9c70f2fa533b4.tar.bz2 |
re PR middle-end/17982 (stop calling assemble_external before final assembly output time)
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.
From-SVN: r119764
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 0aa6f6c..ae0b536 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1076,9 +1076,7 @@ compile_file (void) dw2_output_indirect_constants (); - /* Flush any pending external directives. cgraph did this for - assemble_external calls from the front end, but the RTL - expander can also generate them. */ + /* Flush any pending external directives. */ process_pending_assemble_externals (); /* Attach a special .ident directive to the end of the file to identify |