| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Started to convert the users guide to DocBook XML. Not yet finished, there are
still *tons* of misplaced indexterms, but some sensible documentation can
already be generated.
|
|
|
|
|
| |
DocBook XML is case-sensitive. Note that this is still not correct DocBook, tons
of indexterm elements within varlistentries are still misplaced.
|
|
|
|
| |
xmlize sgml docbooks
|
|
|
|
| |
Clarify words about the -package flag
|
|
|
|
| |
Clarify warn-unused-bindings documention
|
|
|
|
| |
Document UNPACK pragma
|
|
|
|
| |
Some wibbles to the optimisation section.
|
|
|
|
|
|
|
|
|
|
|
| |
- Document -e
- Rearrange the documentation on "modes". I've moved the list of
modes from the beginning of "Using GHC", to a subsection a little
later, and the sections describing make-mode and batch-mode are now
further subsections of this.
- Add missing modes to the list: -M and --mk-dll.
|
|
|
|
| |
Added short option -V for long option --version
|
|
|
|
|
|
|
| |
Update the documentation for filenames and related options to reflect
the new story. Now we talk about hierarchical modules from the
outset, and hopefully the whole description is somewhat clearer than
before.
|
|
|
|
|
|
|
|
| |
* Remove -ffoldr-build-on
Add -rrules-off
Document the change
* Document -fwarn-simple-patterns more
|
|
|
|
| |
Document external core a bit more
|
|
|
|
| |
Document {-# CORE #-} pragma (thanks to Hal Daume)
|
|
|
|
| |
Document warning suppression with leading underscore on variable names
|
|
|
|
|
|
|
|
| |
Update the documentation on --make mode to indicate that multiple
sources/modules can be given on the command line, as well as multiple
object files.
MERGE TO STABLE
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-----------------------------------------------
Add -Werror flag, which makes warnings fatal
-----------------------------------------------
-Werror is standard gcc-ism; it makes warnings into fatal errors
so you don't miss them in a batch compile.
Fairly easy to implement, by modifying ErrUtils.errorsFound
Suggested by Ashley Yakeley
|
|
|
|
| |
Add an example about -osuf etc
|
|
|
|
| |
Notes on .exe files
|
|
|
|
| |
Improve the documentation for hierarchical libraries.
|
|
|
|
|
|
|
| |
Various hacking on the User's Guide to knock it into shape for the release.
Committers: please take a look at the 5.04 release notes and feel free
to tweak or embelish the description for your favourite new feature.
|
|
|
|
|
| |
Replace all instances of '--' with '––' since '--' gets
interpreted by JadeTeX to mean a single dash.
|
|
|
|
|
|
|
|
|
| |
Nuke -O2-for-C, since it can cause gcc to generate incorrect code, and
doesn't seem to help much. Add a comment about this in the 5.02
release notes, saying you can still use -optc-O2 if you really want
to.
(merged from rev. 1.47.2.3)
|
|
|
|
|
| |
- document --print-libdir
- replace some <literal>s with <option>s where appropriate
|
|
|
|
|
|
| |
merge rev 1.47.2.1:
* typo ('-help' -> '--help')
|
|
|
|
| |
document -fext-core flag and set pointers to ext-core docs/tools (MERGE to STABLE pleeeeeease.)
|
|
|
|
| |
markup fixes
|
|
|
|
|
| |
Put a big flashing warning sign next to the description of -O2-for-C,
and don't endorse it by claiming that we actually use it (we don't).
|
|
|
|
| |
document the requirement for source files in --make.
|
|
|
|
|
|
|
| |
- document -hidir option
- move -ohi documentation to "redirecting output" section
- remove duplicate -ohi in the flags table.
- add a warning about -ohi confusing the recompilation checker.
|
|
|
|
| |
Document -hcsuf option
|
|
|
|
| |
document -fwarn-misc.
|
|
|
|
|
|
|
|
|
| |
Move the bug reporting section earlier, and mention the SourceForge
bug tracker.
Update the release notes.
I think I'm just about done in here...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-*- outline -*-
Time-stamp: <Thu Mar 22 2001 03:50:16 Stardate: [-30]6365.79 hwloidl>
This commit covers changes in GHC to get GUM (way=mp) and GUM/GdH (way=md)
working. It is a merge of my working version of GUM, based on GHC 4.06,
with GHC 4.11. Almost all changes are in the RTS (see below).
GUM is reasonably stable, we used the 4.06 version in large-ish programs for
recent papers. Couple of things I want to change, but nothing urgent.
GUM/GdH has just been merged and needs more testing. Hope to do that in the
next weeks. It works in our working build but needs tweaking to run.
GranSim doesn't work yet (*sigh*). Most of the code should be in, but needs
more debugging.
ToDo: I still want to make the following minor modifications before the release
- Better wrapper skript for parallel execution [ghc/compiler/main]
- Update parallel docu: started on it but it's minimal [ghc/docs/users_guide]
- Clean up [nofib/parallel]: it's a real mess right now (*sigh*)
- Update visualisation tools (minor things only IIRC) [ghc/utils/parallel]
- Add a Klingon-English glossary
* RTS:
Almost all changes are restricted to ghc/rts/parallel and should not
interfere with the rest. I only comment on changes outside the parallel
dir:
- Several changes in Schedule.c (scheduling loop; createThreads etc);
should only affect parallel code
- Added ghc/rts/hooks/ShutdownEachPEHook.c
- ghc/rts/Linker.[ch]: GUM doesn't know about Stable Names (ifdefs)!!
- StgMiscClosures.h: END_TSO_QUEUE etc now defined here (from StgMiscClosures.hc)
END_ECAF_LIST was missing a leading stg_
- SchedAPI.h: taskStart now defined in here; it's only a wrapper around
scheduleThread now, but might use some init, shutdown later
- RtsAPI.h: I have nuked the def of rts_evalNothing
* Compiler:
- ghc/compiler/main/DriverState.hs
added PVM-ish flags to the parallel way
added new ways for parallel ticky profiling and distributed exec
- ghc/compiler/main/DriverPipeline.hs
added a fct run_phase_MoveBinary which is called with way=mp after linking;
it moves the bin file into a PVM dir and produces a wrapper script for
parallel execution
maybe cleaner to add a MoveBinary phase in DriverPhases.hs but this way
it's less intrusive and MoveBinary makes probably only sense for mp anyway
* Nofib:
- nofib/spectral/Makefile, nofib/real/Makefile, ghc/tests/programs/Makefile:
modified to skip some tests if HWL_NOFIB_HACK is set; only tmp to record
which test prgs cause problems in my working build right now
|
|
|
|
| |
document -fignore-asserts
|
|
|
|
| |
Remove docs for -funfolding-interface-threshold
|
|
|
|
|
|
|
| |
More doc hacking.
Call for Release Notes (CFRN): the 5-00-notes.sgml file is currently a
skeleton only; PLEASE add or expand entries for things you've done.
|
|
|
|
| |
Today's doc hacking.
|
|
|
|
|
| |
More documentation rewriting... I'm particularly proud of the "flag
reference" section, please check it out.
|
|
|
|
| |
beginnings of a documentation revamp
|
|
|
|
| |
Document change in behaviour of -E.
|
|
|
|
| |
Many fixes to make it DocBook friendly.
|
|
|
|
| |
Update packages stuff to track yesterday's changes to @data Package = ...@.
|
|
|
|
|
|
|
|
| |
Document the new behaviour of -fno-implicit-prelude.
(I havn't checked that the new document builds right because
my build tree doesn't seem to build documentation. Reuben,
could you check, please.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
---------------------------------------
Simon's tuning changes: early Sept 2000
---------------------------------------
Library changes
~~~~~~~~~~~~~~~
* Eta expand PrelShow.showLitChar. It's impossible to compile this well,
and it makes a big difference to some programs (e.g. gen_regexps)
* Make PrelList.concat into a good producer (in the foldr/build sense)
Flag changes
~~~~~~~~~~~~
* Add -ddump-hi-diffs to print out changes in interface files. Useful
when watching what the compiler is doing
* Add -funfolding-update-in-place to enable the experimental optimisation
that makes the inliner a bit keener to inline if it's in the RHS of
a thunk that might be updated in place. Sometimes this is a bad idea
(one example is in spectral/sphere; see notes in nofib/Simon-nofib-notes)
Tuning things
~~~~~~~~~~~~~
* Fix a bug in SetLevels.lvlMFE. (change ctxt_lvl to dest_level)
I don't think this has any performance effect, but it saves making
a redundant let-binding that is later eliminated.
* Desugar.dsProgram and DsForeign
Glom together all the bindings into a single Rec. Previously the
bindings generated by 'foreign' declarations were not glommed together, but
this led to an infelicity (i.e. poorer code than necessary) in the modules
that actually declare Float and Double (explained a bit more in Desugar.dsProgram)
* OccurAnal.shortMeOut and IdInfo.shortableIdInfo
Don't do the occurrence analyser's shorting out stuff for things which
have rules. Comments near IdInfo.shortableIdInfo.
This is deeply boring, and mainly to do with making rules work well.
Maybe rules should have phases attached too....
* CprAnalyse.addIdCprInfo
Be a bit more willing to add CPR information to thunks;
in particular, if the strictness analyser has just discovered that this
is a strict let, then the let-to-case transform will happen, and CPR is fine.
This made a big difference to PrelBase.modInt, which had something like
modInt = \ x -> let r = ... -> I# v in
...body strict in r...
r's RHS isn't a value yet; but modInt returns r in various branches, so
if r doesn't have the CPR property then neither does modInt
* MkId.mkDataConWrapId
Arrange that vanilla constructors, like (:) and I#, get unfoldings that are
just a simple variable $w:, $wI#. This ensures they'll be inlined even into
rules etc, which makes matching a bit more reliable. The downside is that in
situations like (map (:) xs), we'll end up with (map (\y ys. $w: y ys) xs.
Which is tiresome but it doesn't happen much.
* SaAbsInt.findStrictness
Deal with the case where a thing with no arguments is bottom. This is Good.
E.g. module M where { foo = error "help" }
Suppose we have in another module
case M.foo of ...
Then we'd like to do the case-of-error transform, without inlining foo.
Tidying up things
~~~~~~~~~~~~~~~~~
* Reorganised Simplify.completeBinding (again).
* Removed the is_bot field in CoreUnfolding (is_cheap is true if is_bot is!)
This is just a tidy up
* HsDecls and others
Remove the NewCon constructor from ConDecl. It just added code, and nothing else.
And it led to a bug in MkIface, which though that a newtype decl was always changing!
* IdInfo and many others
Remove all vestiges of UpdateInfo (hasn't been used for years)
|
|
|
|
| |
Revoked comments about not using -static under Windows.
|
|
|
|
|
| |
Updates to Windows docs to cope with changes in new Cygwin and head of tree
GHC.
|
|
|
|
|
| |
Update the documentation on the +RTS -C option, and remove the note
saying that it doesn't work.
|
|
|
|
|
| |
Add a cross-ref to the section on Packages from the mention of the
-package flag in the section on linking.
|
|
|
|
| |
update documentation to reflect changes in the format of a package spec.
|
|
|
|
|
| |
Strictfp-like behaviour is the default now, which can be switched off
via -fexcess-precision. (Has anybody a better name for this option?)
|