Skip to content
Snippets Groups Projects
Commit 2c7eebae authored by Bernd Schmidt's avatar Bernd Schmidt Committed by Bernd Schmidt
Browse files

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
parent 17038fcf
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment