r222643 - in /trunk/gcc: ChangeLog config/elfos...
ctice@gcc.gnu.org
ctice@gcc.gnu.org
Thu Apr 30 17:49:00 GMT 2015
Author: ctice
Date: Thu Apr 30 17:49:02 2015
New Revision: 222643
URL: https://gcc.gnu.org/viewcvs?rev=222643&root=gcc&view=rev
Log:
Define & use special macros to record the name & size of cold
partitions. (Fix PR 65929).
gcc/ChangeLog
PR 65929
* config/elfos.h (ASM_DECLARE_COLD_FUNCTION_NAME): New macro definition.
(ASM_DECLARE_COLD_FUNCTION_SIZE): New macro definition.
* doc/tm.texi.in (ASM_DECLARE_COLD_FUNCTION_NAME): Document new macro.
(ASM_DECLARE_COLD_FUNCTION_SIZE): Document new macro.
* final.c (final_scan_insn): Use ASM_DECLARE_COLD_FUNCTION_NAME
instead of ASM_DECLARE_FUNCTION_NAME for cold partition name.
* varasm.c (assemble_end_function): Use ASM_DECLARE_COLD_FUNCTION_SIZE
instead of ASM_DECLARE_FUNCTION_SIZE for cold partition size.
gcc/testsuite/ChangeLog:
PR 65929
* gcc.dg/tree-prof/cold_partition_label.c: Only check for cold
partition size on certain targets.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/elfos.h
trunk/gcc/doc/tm.texi.in
trunk/gcc/final.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list