diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1704faea73fa470f30a24601150d9a492b0f4f0f..621d61bc51a7346835a797bd8242f618fcde0657 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/toplev.c b/gcc/toplev.c index 01e3276b3e20521cc86d5255822894c411919d4d..5afeb1c09d10a6a98340e3b4d48b5eeb01f9f08f 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,