]> git.ipfire.org Git - thirdparty/gcc.git/commit
Give proper type and size to named cold partitions.
authorCaroline Tice <cmtice@google.com>
Mon, 27 Apr 2015 16:44:35 +0000 (09:44 -0700)
committerCaroline Tice <ctice@gcc.gnu.org>
Mon, 27 Apr 2015 16:44:35 +0000 (09:44 -0700)
commit16d710b164529c81929bcb8bb55eea1b758b070e
treedf19ff6f9889f28dc41876292756363a07ed31ca
parent0a48088a0b7339e8f1d000aee282cfb7e394938d
Give proper type and size to named cold partitions.

2015-04-27  Caroline Tice  <cmtice@google.com>

* final.c (final_scan_insn):  Output cold_function_nmae as function
type.
* varasm.c (cold_function_name):  Make gloval.
(assemble_start_function):  Re-set cold_function_name.
(assemble_end_function): Output cold partition size.
* varasm.h (cold_fun ction_name):  Declare global.

2015-04-27  Caroline Tice  <cmtice@google.com>

* gcc.dg/tree-prof/cold_partition_label.c (main): Check for cold
partition size.

From-SVN: r222473
gcc/ChangeLog
gcc/final.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c
gcc/varasm.c
gcc/varasm.h