Skip to content
Snippets Groups Projects
  • Bernd Schmidt's avatar
    2c7eebae
    function.c (init_function_start): Call decide_function_section. · 2c7eebae
    Bernd Schmidt authored
    	* 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
    2c7eebae
    History
    function.c (init_function_start): Call decide_function_section.
    Bernd Schmidt authored
    	* 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