aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-05-30 14:01:20 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-05-30 14:01:20 -0700
commita7943381121420155a686f4d9a086acef1c95548 (patch)
tree3189b9893a9a67b8c812585c0cceff80317e6568 /gcc/toplev.c
parentde215bc6c56442bfb501afca9d8eaef9a3594066 (diff)
downloadgcc-a7943381121420155a686f4d9a086acef1c95548.zip
gcc-a7943381121420155a686f4d9a086acef1c95548.tar.gz
gcc-a7943381121420155a686f4d9a086acef1c95548.tar.bz2
defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill.
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. * toplev.c (process_options): Don't check it. * doc/tm.texi: Don't document it. * config/i386/linux.h (SUBTARGET_FRAME_POINTER_REQUIRED): New. (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Kill. * config/i386/i386.c (ix86_frame_pointer_required): Suppress leaf frame pointer optimization if current_function_profile. From-SVN: r54072
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index ccbb4bc..b37a4f5 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4893,16 +4893,6 @@ process_options ()
warning ("this target machine does not have delayed branches");
#endif
- /* Some operating systems do not allow profiling without a frame
- pointer. */
- if (!TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER
- && profile_flag
- && flag_omit_frame_pointer)
- {
- error ("profiling does not work without a frame pointer");
- flag_omit_frame_pointer = 0;
- }
-
user_label_prefix = USER_LABEL_PREFIX;
if (flag_leading_underscore != -1)
{