]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
opts.c (default_option): Add -fvect-cost-model to default options at -O3 and above.
authorBill Schmidt <wschmidt@linux.ibm.com>
Mon, 16 Jul 2012 12:32:25 +0000 (12:32 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Mon, 16 Jul 2012 12:32:25 +0000 (12:32 +0000)
2012-07-16  Bill Schmidt  <wschmidt@linux.ibm.com>

* opts.c (default_option): Add -fvect-cost-model to default options
at -O3 and above.

From-SVN: r189527

gcc/ChangeLog
gcc/opts.c

index 6e4f50a0f12d9f768e0806b61ff84ff676df245f..a7bf2ff5f13360ce3bdbfc3f31f13906b8ce32e6 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-16  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       * opts.c (default_option): Add -fvect-cost-model to default options
+       at -O3 and above.
+
 2012-07-16  Steven Bosscher  <steven@gcc.gnu.org>
 
        * graphite-clast-to-gimple.c, graphite-dependences.c,
index d189e90cce0a68b21232ceba63eafd4273a93efb..43ee15ac8fd223049c442bffe2e141daeba9b85e 100644 (file)
@@ -501,6 +501,7 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_3_PLUS, OPT_funswitch_loops, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_fgcse_after_reload, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_ftree_vectorize, NULL, 1 },
+    { OPT_LEVELS_3_PLUS, OPT_fvect_cost_model, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_fipa_cp_clone, NULL, 1 },
     { OPT_LEVELS_3_PLUS, OPT_ftree_partial_pre, NULL, 1 },