diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2002-04-29 19:07:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2002-04-29 19:07:13 +0000 |
commit | 1034407f00b9aefde939c3273dce2dc3574a4857 (patch) | |
tree | 090827a23d0b361e03d9888fddfc256ce2aa8012 /gcc | |
parent | fbe5eb6d0a582e04aadb53f6a024d5af17f0baad (diff) | |
download | gcc-1034407f00b9aefde939c3273dce2dc3574a4857.zip gcc-1034407f00b9aefde939c3273dce2dc3574a4857.tar.gz gcc-1034407f00b9aefde939c3273dce2dc3574a4857.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1704fae..621d61b 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 01e3276..5afeb1c 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, |