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
Showing
gcc/testsuite/gcc.target/arm/cold-lc.c
0 → 100644
Please
register
or
sign in
to comment