diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2011-05-03 13:08:36 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2011-05-03 13:08:36 +0000 |
commit | 2c7eebae8a0b49351452b3a98fc1b2f26608bfbc (patch) | |
tree | 2d807f2a3c1c4b7e1108c8950f4b2d7408be0561 /gcc/rtl.h | |
parent | 17038fcf969aacff3fa4ebdbb9bfedda6705f612 (diff) | |
download | gcc-2c7eebae8a0b49351452b3a98fc1b2f26608bfbc.zip gcc-2c7eebae8a0b49351452b3a98fc1b2f26608bfbc.tar.gz gcc-2c7eebae8a0b49351452b3a98fc1b2f26608bfbc.tar.bz2 |
function.c (init_function_start): Call decide_function_section.
* function.c (init_function_start): Call decide_function_section.
* varasm.c (decide_function_section): New function.
(assemble_start_function): When not using
flag_reorder_blocks_and_partition, don't compute in_cold_section_p
or first_function_block_is_cold.
* rtl.h (decide_function_section): Declare.
* gcc.target/arm/cold-lc.c: New test.
From-SVN: r173303
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1668,6 +1668,7 @@ extern rtx get_pool_constant (rtx); extern rtx get_pool_constant_mark (rtx, bool *); extern enum machine_mode get_pool_mode (const_rtx); extern rtx simplify_subtraction (rtx); +extern void decide_function_section (tree); /* In function.c */ extern rtx assign_stack_local (enum machine_mode, HOST_WIDE_INT, int); |