From: Nick Clifton Date: Mon, 29 Apr 2002 19:07:13 +0000 (+0000) Subject: toplev.c (f_options): Add "profile" switch so that -fno-profile can be used to disabl... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1034407f00b9aefde939c3273dce2dc3574a4857;p=gcc.git toplev.c (f_options): Add "profile" switch so that -fno-profile can be used to disable -p. * toplev.c (f_options): Add "profile" switch so that -fno-profile can be used to disable -p. From-SVN: r52904 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1704faea73f..621d61bc51a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-04-29 Nick Clifton + + * toplev.c (f_options): Add "profile" switch so that + -fno-profile can be used to disable -p. + 2002-04-29 Bernd Schmidt * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode, diff --git a/gcc/toplev.c b/gcc/toplev.c index 01e3276b3e2..5afeb1c09d1 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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,