* common.opt (freorder-blocks-and-partition-hot-warm): New option.
        * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
        Implement it.
        * testsuite/gcc.target/arm/hot-warm-1.c: New file.