i386: Use the STC bb-reorder algorithm at -Os (PR67864)
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 7 Nov 2015 19:44:21 +0000 (20:44 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 7 Nov 2015 19:44:21 +0000 (20:44 +0100)
commitbc05d49d1064b7fb143c9786ca1fe6a1557163a2
treede698ca02714d8ef233bb93523bf97fcac800c1c
parenta153644f75bb7e5c7814eb2a7a4737108018748f
i386: Use the STC bb-reorder algorithm at -Os (PR67864)

For x86, STC still gives better results for optimise-for-size than
"simple" does.  So use STC at -Os as well.

PR rtl-optimization/67864
* common/config/i386/i386-common.c (ix86_option_optimization_table)
<OPT_freorder_blocks_algorithm_>: Use REORDER_BLOCKS_ALGORITHM_STC
at -Os and up.

From-SVN: r229937
gcc/ChangeLog
gcc/common/config/i386/i386-common.c