diff options
author | Caroline Tice <ctice@apple.com> | 2004-08-25 19:52:54 +0000 |
---|---|---|
committer | Caroline Tice <ctice@gcc.gnu.org> | 2004-08-25 12:52:54 -0700 |
commit | 8e8d51622f9c4aca782074532ee563f4c70f2e2f (patch) | |
tree | a5867d1e566bb25285998220b8ed1c4261740f02 /gcc/passes.c | |
parent | 41a21e1d8b4bf5ed02dd953d8059c6c311f89edf (diff) | |
download | gcc-8e8d51622f9c4aca782074532ee563f4c70f2e2f.zip gcc-8e8d51622f9c4aca782074532ee563f4c70f2e2f.tar.gz gcc-8e8d51622f9c4aca782074532ee563f4c70f2e2f.tar.bz2 |
Add more details to hot/cold partitioning comments and documentation.
2004-08-25 Caroline Tice <ctice@apple.com>
* bb-reorder.c (partition_hot_cold_basic_blocks): Add more details
to comments at start of function.
* cfgbuild.c (make_edges): Add more details to hot/cold partitioning
comment.
* cfgcleanup.c (try_simplify_condjump, try_forward_edges,
merge_blocks_move_predecessor_nojumps,
merge_blocks_move_successor_nojumps, merge_blocks_move,
try_crossjump_to_edge, try_crossjump_bb): Likewise.
* cfglayout.c (fixup_reorder_chain): Likewise.
* cfgrtl.c (rtl_can_merge_blocks, try_redirect_by_replacing_jump,
cfg_layout_can_merge_blocks_p): Likewise.
* ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
* passes.c (rest_of_compilation): Update comments for calling
optimization that partitions hot/cold basic blocks.
* doc/invoke.texi: Update documentation of
freorder-blocks-and-partition flag.
From-SVN: r86570
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 7f0aeb6..06c2d89 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1856,8 +1856,9 @@ rest_of_compilation (void) rest_of_handle_if_after_combine (); /* The optimization to partition hot/cold basic blocks into separate - sections of the .o file does not work well with exception handling. - Don't call it if there are exceptions. */ + sections of the .o file does not work well with linkonce or with + user defined section attributes. Don't call it if either case + arises. */ if (flag_reorder_blocks_and_partition && !DECL_ONE_ONLY (current_function_decl) |