aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2017-12-08 17:41:58 +0000
committerMichael Matz <matz@gcc.gnu.org>2017-12-08 17:41:58 +0000
commitdc236397e4d96647c5d72fd9b6d503ca0b187bee (patch)
tree8625f7c609a77a4bd2a6ce6d24c8844af0a66513 /gcc/opts.c
parent450aa0ee3d0f65be4288e8355d8923db5915baa6 (diff)
downloadgcc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 98fbf53..a157b5f 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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 },