toplev.c (f_options): Add "profile" switch so that -fno-profile can be used to disabl...
authorNick Clifton <nickc@cambridge.redhat.com>
Mon, 29 Apr 2002 19:07:13 +0000 (19:07 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 29 Apr 2002 19:07:13 +0000 (19:07 +0000)
    * toplev.c (f_options): Add "profile" switch so that
    -fno-profile can be used to disable -p.

From-SVN: r52904

gcc/ChangeLog
gcc/toplev.c

index 1704faea73fa470f30a24601150d9a492b0f4f0f..621d61bc51a7346835a797bd8242f618fcde0657 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-29  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * toplev.c (f_options): Add "profile" switch so that
+       -fno-profile can be used to disable -p.
+
 2002-04-29  Bernd Schmidt  <bernds@redhat.com>
 
        * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
index 01e3276b3e20521cc86d5255822894c411919d4d..5afeb1c09d10a6a98340e3b4d48b5eeb01f9f08f 100644 (file)
@@ -1065,6 +1065,8 @@ static const lang_independent_options f_options[] =
    N_("Create data files needed by gcov") },
   {"branch-probabilities", &flag_branch_probabilities, 1,
    N_("Use profiling information for branch probabilities") },
+  {"profile", &profile_flag, 1,
+   N_("Enable basic program profiling code") },
   {"reorder-blocks", &flag_reorder_blocks, 1,
    N_("Reorder basic blocks to improve code placement") },
   {"rename-registers", &flag_rename_registers, 1,