summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:59:59 +0000
committerctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:59:59 +0000
commit1897b88152df894079137aba336a65361e09a9c8 (patch)
treeade60c4c4ed198b0036370e03ebd3a1f64ee4817 /gcc/opts.c
parentd6b5203d8dbe5fffec8c3aea15a308aa64faebd5 (diff)
downloadgcc-1897b88152df894079137aba336a65361e09a9c8.tar.gz
Fix problems with hot/cold partitioning optimization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97322 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 3befb1d4d43..bd971c8e3f9 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -669,24 +669,11 @@ decode_options (unsigned int argc, const char **argv)
if (flag_exceptions && flag_reorder_blocks_and_partition)
{
- warning
+ inform
("-freorder-blocks-and-partition does not work with exceptions");
flag_reorder_blocks_and_partition = 0;
flag_reorder_blocks = 1;
}
-
- /* The optimization to partition hot and cold basic blocks into
- separate sections of the .o and executable files does not currently
- work correctly with DWARF debugging turned on. Until this is fixed
- we will disable the optimization when DWARF debugging is set. */
-
- if (flag_reorder_blocks_and_partition && write_symbols == DWARF2_DEBUG)
- {
- warning
- ("-freorder-blocks-and-partition does not work with -g (currently)");
- flag_reorder_blocks_and_partition = 0;
- flag_reorder_blocks = 1;
- }
}
/* Handle target- and language-independent options. Return zero to