Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
01e9deec
Commit
01e9deec
authored
Aug 10, 2006
by
sven.panne@aedion.de
Browse files
Tweak GCC's inlining parameters to get thread_obj inlined
parent
33406b8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Makefile
View file @
01e9deec
...
...
@@ -317,6 +317,9 @@ endif
# -O3 helps unroll some loops (especially in copy() with a constant argument).
GC_HC_OPTS
+=
-optc-O3
# Without this, thread_obj will not be inlined (at least on x86 with GCC 4.1.0)
GCCompact_HC_OPTS
+=
-optc-finline-limit
=
2500
# -fno-strict-aliasing is required for the runtime, because we often
# use a variety of types to represent closure pointers (StgPtr,
# StgClosure, StgMVar, etc.), and without -fno-strict-aliasing gcc is
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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