re PR middle-end/58134 (-ftree-vectorizer-verbose=<n> shows vectorized loops only...
authorSharad Singhai <singhai@google.com>
Thu, 31 Oct 2013 01:01:40 +0000 (01:01 +0000)
committerSharad Singhai <singhai@gcc.gnu.org>
Thu, 31 Oct 2013 01:01:40 +0000 (01:01 +0000)
2013-10-30  Sharad Singhai  <singhai@google.com>

PR middle-end/58134
* opts.c (common_handle_option): Remove deprecated option
-ftree-vectorizer-verbose.
* doc/invoke.texi (Debugging Options): Ditto.
* opts-global.c (handle_common_deferred_options): Ditto.
(dump_remap_tree_vectorizer_verbose): Delete.
* common.opt: Set -ftree-vectorizer-verbose as an ignored option.

ada/ChangeLog
* gnat_ugn.texi: Remove option description for PR middle-end/58134.

From-SVN: r204244

gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gnat_ugn.texi
gcc/common.opt
gcc/doc/invoke.texi
gcc/opts-global.c
gcc/opts.c

index 1951ea9e41dad678c460ba027b0b475f13cf20b0..3b5d9522b4758bbe2b3d2269429e850055fc2586 100644 (file)
@@ -1,3 +1,13 @@
+2013-10-30  Sharad Singhai  <singhai@google.com>
+
+       PR middle-end/58134
+       * opts.c (common_handle_option): Remove deprecated option
+       -ftree-vectorizer-verbose.
+       * doc/invoke.texi (Debugging Options): Ditto.
+       * opts-global.c (handle_common_deferred_options): Ditto.
+       (dump_remap_tree_vectorizer_verbose): Delete.
+       * common.opt: Set -ftree-vectorizer-verbose as an ignored option.
+
 2013-10-30  DJ Delorie  <dj@redhat.com>
 
        * config/rx/rx.c (ADD_RX_BUILTIN0): New macro, used for builtins
index 5ff2c4b4bddadc76bf874d9f2161a6cfedb48546..44d04845b9e3465c0db5bb008afb7b550fb8abb6 100644 (file)
@@ -1,3 +1,7 @@
+2013-10-30  Sharad Singhai  <singhai@google.com>
+
+       * gnat_ugn.texi: Remove option description for PR middle-end/58134.
+
 2013-10-29  David Malcolm  <dmalcolm@redhat.com>
 
        * gcc-interface/trans.c (finalize_nrv): Update for conversion of
index a82f20b08c706dc80b3d90099d66901ffcc6082d..edb3886a03a13cb80d4f7e7618d71c5ffec103a3 100644 (file)
@@ -10696,11 +10696,6 @@ preferably to other optimizations by means of pragma @code{Loop_Optimize}:
 placed immediately within the loop will convey the appropriate hint to the
 compiler for this loop.
 
-You can obtain information about the vectorization performed by the compiler
-by specifying @option{-ftree-vectorizer-verbose=N}.  For more details of
-this switch, see @ref{Debugging Options,,Options for Debugging Your Program
-or GCC, gcc, Using the GNU Compiler Collection (GCC)}.
-
 @node Other Optimization Switches
 @subsection Other Optimization Switches
 @cindex Optimization Switches
index 398b57d7743b3039c6eaa651d4e9f3d5de4c63e0..3a40db203fa72073c1caed5ab89c324d693d74fa 100644 (file)
@@ -2276,8 +2276,8 @@ Common Report Var(flag_tree_vectorize) Optimization
 Enable vectorization on trees
 
 ftree-vectorizer-verbose=
-Common RejectNegative Joined UInteger Var(common_deferred_options) Defer
--ftree-vectorizer-verbose=<number>     This switch is deprecated. Use -fopt-info instead.
+Common Joined RejectNegative Ignore
+Does nothing.  Preserved for backward compatibility.
 
 ftree-loop-vectorize
 Common Report Var(flag_tree_loop_vectorize) Optimization
index 233338b919e46627dd5bbb2dc69ae4b495495b88..ef79df3ae66034c1cdc50af455c9293a98ebfce6 100644 (file)
@@ -321,7 +321,6 @@ Objective-C and Objective-C++ Dialects}.
 -fdump-tree-fre@r{[}-@var{n}@r{]} @gol
 -fdump-tree-vtable-verify @gol
 -fdump-tree-vrp@r{[}-@var{n}@r{]} @gol
--ftree-vectorizer-verbose=@var{n} @gol
 -fdump-tree-storeccp@r{[}-@var{n}@r{]} @gol
 -fdump-final-insns=@var{file} @gol
 -fcompare-debug@r{[}=@var{opts}@r{]}  -fcompare-debug-second @gol
@@ -6361,24 +6360,6 @@ the first option takes effect and the subsequent options are
 ignored. Thus only the @file{vec.miss} is produced which cotaints
 dumps from the vectorizer about missed opportunities.
 
-@item -ftree-vectorizer-verbose=@var{n}
-@opindex ftree-vectorizer-verbose
-This option is deprecated and is implemented in terms of
-@option{-fopt-info}. Please use @option{-fopt-info-@var{kind}} form
-instead, where @var{kind} is one of the valid opt-info options. It
-prints additional optimization information.  For @var{n}=0 no
-diagnostic information is reported.  If @var{n}=1 the vectorizer
-reports each loop that got vectorized, and the total number of loops
-that got vectorized.  If @var{n}=2 the vectorizer reports locations
-which could not be vectorized and the reasons for those. For any
-higher verbosity levels all the analysis and transformation
-information from the vectorizer is reported.
-
-Note that the information output by @option{-ftree-vectorizer-verbose}
-option is sent to @file{stderr}. If the equivalent form
-@option{-fopt-info-@var{options}=@var{filename}} is used then the
-output is sent into @var{filename} instead.
-
 @item -frandom-seed=@var{string}
 @opindex frandom-seed
 This option provides a seed that GCC uses in place of
index ba1bb4c11fd5407d3dd54bd7c47400d1a451baee..af603b956e31d93ff2f1f297b631aa6ca48f0258 100644 (file)
@@ -232,40 +232,6 @@ read_cmdline_options (struct gcc_options *opts, struct gcc_options *opts_set,
     }
 }
 
-/* Handle -ftree-vectorizer-verbose=ARG by remapping it to -fopt-info.
-   It remaps the old verbosity values as following:
-
-   REPORT_NONE ==> No dump is output
-   REPORT_VECTORIZED_LOCATIONS ==> "-optimized"
-   REPORT_UNVECTORIZED_LOCATIONS ==> "-missed"
-
-   Any higher verbosity levels get mapped to "-all" flags.  */
-
-static void
-dump_remap_tree_vectorizer_verbose (const char *arg)
-{
-  int value = atoi (arg);
-  const char *remapped_opt_info = NULL;
-
-  switch (value)
-    {
-    case 0:
-      break;
-    case 1:
-      remapped_opt_info = "optimized";
-      break;
-    case 2:
-      remapped_opt_info = "missed";
-      break;
-    default:
-      remapped_opt_info = "all";
-      break;
-    }
-
-  if (remapped_opt_info)
-    opt_info_switch_p (remapped_opt_info);
-}
-
 /* Language mask determined at initialization.  */
 static unsigned int initial_lang_mask;
 
@@ -456,10 +422,6 @@ handle_common_deferred_options (void)
          stack_limit_rtx = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (opt->arg));
          break;
 
-        case OPT_ftree_vectorizer_verbose_:
-         dump_remap_tree_vectorizer_verbose (opt->arg);
-          break;
-
        default:
          gcc_unreachable ();
        }
index b7d56e337150e48bc3df95517844a227817718d4..1d02b1020d5142aa477eee223b1f070c424d76ad 100644 (file)
@@ -1788,12 +1788,6 @@ common_handle_option (struct gcc_options *opts,
       opts->x_flag_stack_usage_info = value != 0;
       break;
 
-    case OPT_ftree_vectorizer_verbose_:
-      /* -ftree-vectorizer-verbose is deprecated. It is defined in
-         -terms of fopt-info=N. */
-      /* Deferred.  */
-      break;
-
     case OPT_g:
       set_debug_level (NO_DEBUG, DEFAULT_GDB_EXTENSIONS, arg, opts, opts_set,
                       loc);