aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2asm.c
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-09-25 16:53:40 +0000
committerTeresa Johnson <tejohnson@gcc.gnu.org>2015-09-25 16:53:40 +0000
commit6697104844b95eb653a26e725f70600bdade0150 (patch)
tree0929635a605ef836dda743b622ad63f002335dba /gcc/dwarf2asm.c
parent5e2f2cd5842d2543721a895c64a3b2a553542344 (diff)
downloadgcc-6697104844b95eb653a26e725f70600bdade0150.zip
gcc-6697104844b95eb653a26e725f70600bdade0150.tar.gz
gcc-6697104844b95eb653a26e725f70600bdade0150.tar.bz2
This patch unsets -freorder-blocks-and-partition when -fprofile-use is not specified.
This patch unsets -freorder-blocks-and-partition when -fprofile-use is not specified. Function splitting was not actually being performed in that case, as probably_never_executed_bb_p does not distinguish any basic blocks as being cold vs hot when there is no profile data. Leaving it enabled, however, causes the assembly code generator to create (empty) cold sections and labels, leading to unnecessary size overhead. 2015-09-25 Teresa Johnson <tejohnson@google.com> * opts.c (finish_options): Unset -freorder-blocks-and-partition if not using profile. From-SVN: r228136
Diffstat (limited to 'gcc/dwarf2asm.c')
0 files changed, 0 insertions, 0 deletions