diff options
author | Michael Matz <matz@suse.de> | 2017-12-08 17:41:58 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2017-12-08 17:41:58 +0000 |
commit | dc236397e4d96647c5d72fd9b6d503ca0b187bee (patch) | |
tree | 8625f7c609a77a4bd2a6ce6d24c8844af0a66513 /gcc/opts.c | |
parent | 450aa0ee3d0f65be4288e8355d8923db5915baa6 (diff) | |
download | gcc-dc236397e4d96647c5d72fd9b6d503ca0b187bee.zip gcc-dc236397e4d96647c5d72fd9b6d503ca0b187bee.tar.gz gcc-dc236397e4d96647c5d72fd9b6d503ca0b187bee.tar.bz2 |
re PR tree-optimization/83323 (186.crafty miscompares)
Fix PR83323
* gimple-loop-jam (unroll_jam_possible_p): Correct test for
head-controlled loops and loop BBs.
* common.opt (funroll-and-jam): Remove, instead ...
(floop-unroll-and-jam): ... reuse this option.
* opts.c (default_options_table): Use OPT_floop_unroll_and_jam.
* doc/invoke.texi (-funroll-and-jam): Move docu to ...
(-floop-unroll-and-jam): ... this option.
testsuite/
* gcc.dg/pr83323.c: New test.
* gcc.dg/unroll-and-jam.c: Use -floop-unroll-and-jam.
From-SVN: r255514
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -536,7 +536,7 @@ static const struct default_options default_options_table[] = { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_finline_functions_called_once, NULL, 1 }, { OPT_LEVELS_3_PLUS, OPT_fsplit_loops, NULL, 1 }, { OPT_LEVELS_3_PLUS, OPT_funswitch_loops, NULL, 1 }, - { OPT_LEVELS_3_PLUS, OPT_funroll_and_jam, NULL, 1 }, + { OPT_LEVELS_3_PLUS, OPT_floop_unroll_and_jam, NULL, 1 }, { OPT_LEVELS_3_PLUS, OPT_fgcse_after_reload, NULL, 1 }, { OPT_LEVELS_3_PLUS, OPT_ftree_loop_vectorize, NULL, 1 }, { OPT_LEVELS_3_PLUS, OPT_ftree_slp_vectorize, NULL, 1 }, |