Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,322
Issues
4,322
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
357
Merge Requests
357
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
4107a275
Commit
4107a275
authored
Jan 08, 2003
by
simonmar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2003-01-08 13:03:25 by simonmar]
Add -mno-omit-leaf-frame-pointer if gcc supports it. MERGE TO STABLE
parent
63366c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverFlags.hs
+10
-2
No files found.
ghc/compiler/main/DriverFlags.hs
View file @
4107a275
-----------------------------------------------------------------------------
-- $Id: DriverFlags.hs,v 1.10
8 2002/12/17 13:50:29
simonmar Exp $
-- $Id: DriverFlags.hs,v 1.10
9 2003/01/08 13:03:25
simonmar Exp $
--
-- Driver flags
--
...
...
@@ -579,7 +579,15 @@ machdepCCOpts
return
(
[
if
sta
then
"-DDONT_WANT_WIN32_DLL_SUPPORT"
else
""
-- , if suffixMatch "mingw32" cTARGETPLATFORM then "-mno-cygwin" else ""
],
[
"-fno-defer-pop"
,
"-fomit-frame-pointer"
,
[
"-fno-defer-pop"
,
#
ifdef
HAVE_GCC_MNO_OMIT_LFPTR
-- Some gccs are configured with
-- -momit-leaf-frame-pointer on by default, and it
-- apparently takes precedence over
-- -fomit-frame-pointer, so we disable it first here.
"-mno-omit-leaf-frame-pointer"
,
#
endif
"-fomit-frame-pointer"
,
-- we want -fno-builtin, because when gcc inlines
-- built-in functions like memcpy() it tends to
-- run out of registers, requiring -monly-n-regs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment