This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r173303 - in /trunk/gcc: ChangeLog function.c r...
- From: bernds at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 03 May 2011 13:08:36 -0000
- Subject: r173303 - in /trunk/gcc: ChangeLog function.c r...
Author: bernds
Date: Tue May 3 13:08:36 2011
New Revision: 173303
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173303
Log:
* 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.
Added:
trunk/gcc/testsuite/gcc.target/arm/cold-lc.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/rtl.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/varasm.c