summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-30 21:01:20 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-30 21:01:20 +0000
commit8c615611eef6f41dbc36f4d2964e8f8a08befece (patch)
tree3189b9893a9a67b8c812585c0cceff80317e6568 /gcc/toplev.c
parent148fd23670ff8cfad10e32b4840ead441bb57968 (diff)
downloadgcc-8c615611eef6f41dbc36f4d2964e8f8a08befece.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54072 138bc75d-0d04-0410-961f-82ee72b054a4
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 ccbb4bc08a5..b37a4f5a323 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)
{