aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-05-03 13:08:36 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2011-05-03 13:08:36 +0000
commit2c7eebae8a0b49351452b3a98fc1b2f26608bfbc (patch)
tree2d807f2a3c1c4b7e1108c8950f4b2d7408be0561 /gcc/rtl.h
parent17038fcf969aacff3fa4ebdbb9bfedda6705f612 (diff)
downloadgcc-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 04021a3..62b677a 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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);