aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-03-07 07:41:39 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2006-03-07 07:41:39 +0000
commit1d3dbd99b6a956e8fac57bd0c96470a9667fa469 (patch)
treefcbd5a8dae55ab36f6d797f3280c575b6ee81f71 /gcc/toplev.c
parent06af4f5d2020268de5c996d8024901a738da0b56 (diff)
downloadgcc-1d3dbd99b6a956e8fac57bd0c96470a9667fa469.zip
gcc-1d3dbd99b6a956e8fac57bd0c96470a9667fa469.tar.gz
gcc-1d3dbd99b6a956e8fac57bd0c96470a9667fa469.tar.bz2
hooks.c (hook_bool_mode_rtx_true): New function.
* hooks.c (hook_bool_mode_rtx_true): New function. * hooks.h (hook_bool_mode_rtx_true): Declare. * toplev.c (compile_file): Call output_shared_constant_pool. * varasm.c (shared_constant_pool): New variable. (assemble_start_function, assemble_end_function): Remove arguments from call to output_constant_pool. (create_constant_pool): New function, split out from... (init_varasm_status): ...here. (force_const_mem): Choose between the shared and per-function constant pools. Set current_function_uses_const_pool when reusing old entries as well as when creating new ones. (mark_constant): Ignore data argument. (mark_constants): Remove pool argument. (mark_constant_pool): Likewise. Use current_function_uses_const_pool to decide whether the function uses a constant pool. (output_constant_pool_contents): New function, split out from... (output_constant_pool): ...here. (output_shared_constant_pool): New function. (init_varasm_once): Initialize shared_constant_pool. * output.h (output_constant_pool): Delete. (output_shared_constant_pool): Declare. * config/s390/s390-protos.h (s390_output_constant_pool): Delete. * config/i386/i386.c (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Override. From-SVN: r111804
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index fab180d..a9705a7 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1022,6 +1022,7 @@ compile_file (void)
if (flag_mudflap)
mudflap_finish_file ();
+ output_shared_constant_pool ();
output_object_blocks ();
/* Write out any pending weak symbol declarations. */