panne [Mon, 3 Jul 2000 21:04:44 +0000 (21:04 +0000)]
[project @ 2000-07-03 21:04:44 by panne]
Removed foralls in expected output
panne [Mon, 3 Jul 2000 20:34:35 +0000 (20:34 +0000)]
[project @ 2000-07-03 20:34:35 by panne]
Synched expected output with reality
panne [Mon, 3 Jul 2000 20:32:19 +0000 (20:32 +0000)]
[project @ 2000-07-03 20:32:19 by panne]
Litlits don't really make much sense for the NCG (i.e. are a hack), so
compile via C.
panne [Mon, 3 Jul 2000 20:31:07 +0000 (20:31 +0000)]
[project @ 2000-07-03 20:31:07 by panne]
Reverted my last change to this file: Constant folding should really
yield *excatly* the same result as runtime computation.
panne [Mon, 3 Jul 2000 20:28:43 +0000 (20:28 +0000)]
[project @ 2000-07-03 20:28:43 by panne]
Synched with reality again. The expected output is a extremely fragile...
panne [Mon, 3 Jul 2000 19:48:07 +0000 (19:48 +0000)]
[project @ 2000-07-03 19:48:07 by panne]
Putting parentheses around expressions involving a mixture of
multiplicative and additive operators might sometimes be a cunning
idea... :-} Otherwise
(
591125662431::Int) `div` (517::Int)
is correctly converted into
(
567659506 + (275 *
2147483647)) `div` 517
but
591125662431 `div` (517::Int)
turns into the messed up
567659506 + ((275 *
2147483647) `div` 517)
keithw [Mon, 3 Jul 2000 16:45:04 +0000 (16:45 +0000)]
[project @ 2000-07-03 16:45:04 by keithw]
Add note that `gmake clean' should *not* destroy the work of `gmake boot'.
In all cases, the sequence autoconf, ./configure, gmake boot, gmake clean,
gmake all should work correctly.
** Please verify that this is indeed the case! **
simonmar [Mon, 3 Jul 2000 16:07:20 +0000 (16:07 +0000)]
[project @ 2000-07-03 16:07:20 by simonmar]
DEBUG ==> NCG_DEBUG
simonmar [Mon, 3 Jul 2000 16:06:17 +0000 (16:06 +0000)]
[project @ 2000-07-03 16:06:17 by simonmar]
D'oh! Only generate split markers when actually splitting
simonmar [Mon, 3 Jul 2000 15:12:41 +0000 (15:12 +0000)]
[project @ 2000-07-03 15:12:41 by simonmar]
DEBUG ==> NCG_DEBUG
simonmar [Mon, 3 Jul 2000 15:03:13 +0000 (15:03 +0000)]
[project @ 2000-07-03 15:03:13 by simonmar]
fix phase ordering for NCG + -split-objs.
simonmar [Mon, 3 Jul 2000 14:59:25 +0000 (14:59 +0000)]
[project @ 2000-07-03 14:59:25 by simonmar]
Insert split markers properly in the NCG. -split-objs is on its way
to working with the NCG.
simonmar [Mon, 3 Jul 2000 14:32:58 +0000 (14:32 +0000)]
[project @ 2000-07-03 14:32:58 by simonmar]
dead code removal
panne [Sun, 2 Jul 2000 19:23:22 +0000 (19:23 +0000)]
[project @ 2000-07-02 19:23:21 by panne]
Removed -noC flag, which has vanished from the driver
panne [Sun, 2 Jul 2000 18:59:10 +0000 (18:59 +0000)]
[project @ 2000-07-02 18:59:10 by panne]
Don't use addr2Integer for large integral literals anymore, use a
Horner schema with numbers in the Int range instead. This improves
constant folding, so e.g. (0x87654321 :: Word32) is evaluated at
compile time now. In theory we can completely say Good-bye to
addr2Integer, but for the time being it's still there. Feel free to
nuke it... >:-)
panne [Sun, 2 Jul 2000 18:50:24 +0000 (18:50 +0000)]
[project @ 2000-07-02 18:50:24 by panne]
Don't warn the user about integer overflow during constant folding
anymore. It's not done at runtime either, and compilation of
completely harmless things like
((
124076834 :: Word32) + (
2147483647 :: Word32))
yielded a warning.
panne [Fri, 30 Jun 2000 19:12:21 +0000 (19:12 +0000)]
[project @ 2000-06-30 19:12:21 by panne]
Hackily quote -#include options before passing them to mkdependHS
panne [Fri, 30 Jun 2000 18:38:03 +0000 (18:38 +0000)]
[project @ 2000-06-30 18:38:03 by panne]
Remove parentheses around C function/macros names. This is necessary
because cpp does *not* replace e.g.
(eqForeignObj)(f1,f2)
with
((f1)==(f2))
(see PrimOps.h), heaven (or K&R) knows why. OK foreign importing
macros is a hack, but GHC seems to depend on it.
simonmar [Fri, 30 Jun 2000 13:39:36 +0000 (13:39 +0000)]
[project @ 2000-06-30 13:39:35 by simonmar]
- fix copyrights
- remove some unused imports
- comment formatting fixes
simonpj [Fri, 30 Jun 2000 13:11:08 +0000 (13:11 +0000)]
[project @ 2000-06-30 13:11:07 by simonpj]
In a CCall, a DynamicTarget has a unique that is
used only to generate a uniquely-named typedef.
It should not be used when comparing CCalls (e.g.
when seeing if interface files have changed).
So the main change in this commit is to fix the Eq
instance for PrimOp.CCallTarget, but I took the
opportunity to clean up the CCallTarget interface
a little.
simonpj [Fri, 30 Jun 2000 13:10:38 +0000 (13:10 +0000)]
[project @ 2000-06-30 13:10:38 by simonpj]
Improve error message
simonmar [Fri, 30 Jun 2000 09:46:04 +0000 (09:46 +0000)]
[project @ 2000-06-30 09:46:04 by simonmar]
wibble
simonmar [Fri, 30 Jun 2000 09:45:16 +0000 (09:45 +0000)]
[project @ 2000-06-30 09:45:16 by simonmar]
Use GhcMinVersion to pick the correct cmdline args to build the driver.
simonmar [Fri, 30 Jun 2000 09:34:09 +0000 (09:34 +0000)]
[project @ 2000-06-30 09:34:09 by simonmar]
Check the version of the installed ghc, and set GhcVersion,
GhcMajVersion, GhcMinVersion and GhcPatchLevel make variables.
simonmar [Fri, 30 Jun 2000 08:48:38 +0000 (08:48 +0000)]
[project @ 2000-06-30 08:48:38 by simonmar]
_Haskell1Version ==> cHaskell1Version
panne [Thu, 29 Jun 2000 21:08:02 +0000 (21:08 +0000)]
[project @ 2000-06-29 21:08:02 by panne]
Added test for Typeable instance
panne [Thu, 29 Jun 2000 20:20:18 +0000 (20:20 +0000)]
[project @ 2000-06-29 20:20:18 by panne]
Fixed buglet in search for ghc-usage.txt
panne [Thu, 29 Jun 2000 19:47:50 +0000 (19:47 +0000)]
[project @ 2000-06-29 19:47:50 by panne]
There is not much point in memoising Integers, so we should better use
unary "numbers" (i.e. lists of units) instead
sewardj [Thu, 29 Jun 2000 15:08:02 +0000 (15:08 +0000)]
[project @ 2000-06-29 15:08:02 by sewardj]
Add my wizardly assembly-code basic-block matching program, which is
very useful for debugging the native code generator. This is not
built by default, because it's totally useless to anyone except the
GHC developers. The README file describes how to use and maintain it.
keithw [Thu, 29 Jun 2000 14:25:36 +0000 (14:25 +0000)]
[project @ 2000-06-29 14:25:36 by keithw]
Add missing implicit occs relating to list comprehensions in
deriving (Ix,Read).
simonmar [Thu, 29 Jun 2000 13:40:17 +0000 (13:40 +0000)]
[project @ 2000-06-29 13:40:17 by simonmar]
Add test for GNU regex in libc, which we'll use to decide whether to
compile our own copy of the library in package text.
simonmar [Thu, 29 Jun 2000 13:18:38 +0000 (13:18 +0000)]
[project @ 2000-06-29 13:18:38 by simonmar]
sparc needs the TMOVEDIRVS hack too
simonmar [Thu, 29 Jun 2000 13:08:59 +0000 (13:08 +0000)]
[project @ 2000-06-29 13:08:59 by simonmar]
hi files are now named after the module being compiled, not the
original filename (unless of course the user has specified -ohi <blah>).
rrt [Thu, 29 Jun 2000 13:07:04 +0000 (13:07 +0000)]
[project @ 2000-06-29 13:07:04 by rrt]
Remove /bin/ from /bin/rm to avoid problems with systems where it's elsewhere.
lewie [Wed, 28 Jun 2000 21:54:06 +0000 (21:54 +0000)]
[project @ 2000-06-28 21:54:06 by lewie]
Make it so that implicit params uniformly print with the `?' at the front
of the name. Simon's last big commit re-arranged how interface files
were written, and implicit params were suddenly being written without the `?'.
This fixes both that bug, and Simon's concern that there were too many
different pretty printing functions for implicit params ;-)
simonmar [Wed, 28 Jun 2000 17:03:17 +0000 (17:03 +0000)]
[project @ 2000-06-28 17:03:17 by simonmar]
This file had version 407 burned into it; the convention is that zero
means "don't check the version".
lewie [Wed, 28 Jun 2000 16:57:42 +0000 (16:57 +0000)]
[project @ 2000-06-28 16:57:42 by lewie]
Bumped VERSION's version as well.
simonmar [Wed, 28 Jun 2000 16:57:05 +0000 (16:57 +0000)]
[project @ 2000-06-28 16:57:05 by simonmar]
ignore lines beginning with '#' when looking for {-# OPTIONS #-}
lewie [Wed, 28 Jun 2000 16:52:38 +0000 (16:52 +0000)]
[project @ 2000-06-28 16:52:38 by lewie]
Wave goodbye to hscpp even harder. (erase it from SUBDIR list).
simonmar [Wed, 28 Jun 2000 15:56:28 +0000 (15:56 +0000)]
[project @ 2000-06-28 15:56:28 by simonmar]
add in the -optl arguments to the linker command line
simonmar [Wed, 28 Jun 2000 14:34:27 +0000 (14:34 +0000)]
[project @ 2000-06-28 14:34:27 by simonmar]
dumps go to stdout
simonmar [Wed, 28 Jun 2000 14:32:34 +0000 (14:32 +0000)]
[project @ 2000-06-28 14:32:34 by simonmar]
dumps go to stdout now
simonmar [Wed, 28 Jun 2000 14:00:37 +0000 (14:00 +0000)]
[project @ 2000-06-28 14:00:36 by simonmar]
Wave goodbye to hscpp, GHC's lexer now understands the '# \d+ \".*\"'
output from cpp.
simonmar [Wed, 28 Jun 2000 11:50:00 +0000 (11:50 +0000)]
[project @ 2000-06-28 11:50:00 by simonmar]
version of ghc-current is now 4.09
simonmar [Wed, 28 Jun 2000 11:28:27 +0000 (11:28 +0000)]
[project @ 2000-06-28 11:28:27 by simonmar]
add missing default case for Eq (TyClDecl name pat)
sewardj [Wed, 28 Jun 2000 10:42:17 +0000 (10:42 +0000)]
[project @ 2000-06-28 10:42:17 by sewardj]
Partially fix signal (control-C) handling under mingw32.
The interpreter can now be interrupted and successfully returns to
the Hugs prompt, but only if Hugs was started from cmd.exe and not
by bash (!). This is a known bogon with Cygwin, according to
Sigbjorn. I still can't get Hugs to ignore other control-C's;
instead it acts as if it was asked to exit. Bizarre.
lewie [Tue, 27 Jun 2000 16:48:25 +0000 (16:48 +0000)]
[project @ 2000-06-27 16:48:25 by lewie]
splitFunTy_maybe was making a special case of implicit params by
returning Nothing on a type `noted' as an implicit param. It shouldn't
(my bad). It's mostly used downstream of the type checker, where we don't
care so much about the difference between implicit and explicit params.
The right thing to do is just see thru the NoteTy (i.e. eliminate the
special case for IPs).
Please merge.
lewie [Tue, 27 Jun 2000 16:36:00 +0000 (16:36 +0000)]
[project @ 2000-06-27 16:36:00 by lewie]
Cleaned out a handful of unused imports.
rrt [Tue, 27 Jun 2000 13:45:30 +0000 (13:45 +0000)]
[project @ 2000-06-27 13:45:30 by rrt]
Some initial notes on DLLs.
plsmrg
rrt [Tue, 27 Jun 2000 10:08:48 +0000 (10:08 +0000)]
[project @ 2000-06-27 10:08:48 by rrt]
Replace documentation for dll_Ifs.hi with a note about using -package-name.
Please merge.
sewardj [Tue, 27 Jun 2000 09:18:04 +0000 (09:18 +0000)]
[project @ 2000-06-27 09:18:04 by sewardj]
Fix compilation problems with int64 and nat64.
lewie [Tue, 27 Jun 2000 09:08:32 +0000 (09:08 +0000)]
[project @ 2000-06-27 09:08:32 by lewie]
Further refine the test for when to simplify... in particular, was
generating bogus code when a signature asserted an implicit param,
but the code didn't use one.
Please Merge.
simonpj [Mon, 26 Jun 2000 16:09:40 +0000 (16:09 +0000)]
[project @ 2000-06-26 16:09:40 by simonpj]
Add test for filterFB
rrt [Mon, 26 Jun 2000 13:05:25 +0000 (13:05 +0000)]
[project @ 2000-06-26 13:05:25 by rrt]
Fix it Good'n'Proper.
rrt [Mon, 26 Jun 2000 12:48:47 +0000 (12:48 +0000)]
[project @ 2000-06-26 12:48:47 by rrt]
Remove lots of junk from db2ps.sh, and make it find db2dvi properly.
(I'll merge it)
panne [Sun, 25 Jun 2000 19:17:58 +0000 (19:17 +0000)]
[project @ 2000-06-25 19:17:57 by panne]
Changed "_" variable prefix to "c" (for "config", "constant", or
whatever you like). This should enable building from CVS with GHC <4.07.
panne [Sun, 25 Jun 2000 17:25:42 +0000 (17:25 +0000)]
[project @ 2000-06-25 17:25:42 by panne]
Keep gcc -Wall happy
panne [Sun, 25 Jun 2000 17:21:52 +0000 (17:21 +0000)]
[project @ 2000-06-25 17:21:52 by panne]
* -#include's arg needs not be separate anymore.
* Nuke leading and trailing spaces around option arguments.
panne [Sun, 25 Jun 2000 17:20:20 +0000 (17:20 +0000)]
[project @ 2000-06-25 17:20:20 by panne]
Use "$@" instead of $* in shell script, the latter one doesn't handle
spaces in arguments correctly. Heaven knows who invented this wierd rules.
panne [Sun, 25 Jun 2000 17:18:15 +0000 (17:18 +0000)]
[project @ 2000-06-25 17:18:15 by panne]
Descend into include subdir first to create a config.h, which is
needed in later subdirs.
panne [Sun, 25 Jun 2000 17:16:15 +0000 (17:16 +0000)]
[project @ 2000-06-25 17:16:15 by panne]
Fixed xref to Storable docs
panne [Sun, 25 Jun 2000 17:08:37 +0000 (17:08 +0000)]
[project @ 2000-06-25 17:08:37 by panne]
Synch unfoldr's signature in export list with reality
panne [Sat, 24 Jun 2000 17:47:12 +0000 (17:47 +0000)]
[project @ 2000-06-24 17:47:12 by panne]
Fixed "filterFB" RULE
*** please merge ***
rrt [Fri, 23 Jun 2000 14:01:09 +0000 (14:01 +0000)]
[project @ 2000-06-23 14:01:09 by rrt]
Get rid of hand-maintained HSrts.def, and generate it automatically.
sewardj [Fri, 23 Jun 2000 13:13:10 +0000 (13:13 +0000)]
[project @ 2000-06-23 13:13:10 by sewardj]
markHugsObjects() and lookupSection(): don't use debugging versions
of macros module(), name(), tycon(), etc, even when debugging.
Also, in lookupSection(), return immediately when not in combined mode.
Together, these dramatically reduce the cost of GC in Hugs (by about
a factor of 15 for nofib/real/anna).
sewardj [Fri, 23 Jun 2000 12:09:01 +0000 (12:09 +0000)]
[project @ 2000-06-23 12:09:00 by sewardj]
Minor mods to make fully-optimised builds of Hugs work again.
sewardj [Fri, 23 Jun 2000 09:41:11 +0000 (09:41 +0000)]
[project @ 2000-06-23 09:41:11 by sewardj]
Changes to make DietHEP.dll usable from Visual Basic:
* Export DH_LoadLibrary and DH_GetProcAddress using stdcall, not ccall.
* Append all messages to a logfile, diet_hep_logfile.txt, for debugging.
panne [Thu, 22 Jun 2000 16:19:16 +0000 (16:19 +0000)]
[project @ 2000-06-22 16:19:16 by panne]
* -syslib => -package
* mkdependHS => ghc -M
*** please merge ***
panne [Thu, 22 Jun 2000 16:18:10 +0000 (16:18 +0000)]
[project @ 2000-06-22 16:18:10 by panne]
* Mentioned CTypesISO
* Synched comments about MutableArray with reality
*** please merge ***
panne [Thu, 22 Jun 2000 16:16:46 +0000 (16:16 +0000)]
[project @ 2000-06-22 16:16:46 by panne]
Removed explicit usage of hslibs/docs, it belongs to
ghc/docs/set. (untested)
*** please merge ***
simonpj [Thu, 22 Jun 2000 14:45:41 +0000 (14:45 +0000)]
[project @ 2000-06-22 14:45:41 by simonpj]
*** NO NEED TO MERGE WITH 4.07 ***
(but it would do no harm)
* Improve an error message when overlapping instance
declarations are present. Carl Witty reported this
infelicitous message. The problem arises for this code:
class Foo a
class (Foo a) => Bar a
data Dat a = Dat
instance Foo (Dat a)
instance Foo (Dat Integer)
instance Bar (Dat a)
The instance decl for Bar should say
instance Foo (Dat a) => Bar (Dat a)
because the overlapping instance decls for Foo can't
be resolved (or at least might vary depending on how
a is instantiated).
simonpj [Thu, 22 Jun 2000 14:41:29 +0000 (14:41 +0000)]
[project @ 2000-06-22 14:41:29 by simonpj]
*** MERGE WITH 4.07 ***
* ParseIface.y should reject newtypes with no
definition:
newtype T a ;
The rest of the compiler falls over if it sees such a thing.
simonpj [Thu, 22 Jun 2000 14:40:22 +0000 (14:40 +0000)]
[project @ 2000-06-22 14:40:22 by simonpj]
*** MERGE WITH 4.07 ***
* The divide by zero check in the constant-folding
rules was testing the numerator not denominator!
(For Float and Double.)
rrt [Thu, 22 Jun 2000 12:02:55 +0000 (12:02 +0000)]
[project @ 2000-06-22 12:02:55 by rrt]
Add greencard support.
chak [Wed, 21 Jun 2000 09:13:09 +0000 (09:13 +0000)]
[project @ 2000-06-21 09:13:09 by chak]
As suggested by SimonM, moved an overview over the three components of the FFI
into the FFI document included as Chapter 7 into the GHC user guide.
Open questions:
* How can I make cross references to the doc in hslibs/? There are already
references to hslibs sections in other parts of ghc's user guide, but they
are not correctly resolved when I generate html from the sgml files.
* There is now a (little) overlap with material in 6.5 (GHC Language Features:
The foreign interface). I would say, we could actually leave this as it is,
as 6.5 goes on to describe GHC specifics.
simonmar [Tue, 20 Jun 2000 16:32:20 +0000 (16:32 +0000)]
[project @ 2000-06-20 16:32:20 by simonmar]
fix -fno-asm-mangling flag
sewardj [Tue, 20 Jun 2000 15:31:33 +0000 (15:31 +0000)]
[project @ 2000-06-20 15:31:33 by sewardj]
Force binds with coreBindsSize after every simplifier iteration.
Significantly reduces space use, especially with -O. This could
probably be done more cleanly.
simonmar [Tue, 20 Jun 2000 15:26:34 +0000 (15:26 +0000)]
[project @ 2000-06-20 15:26:34 by simonmar]
remove duplicates from the list of ways, so that eg. ghc -prof -prof
is legal.
simonmar [Tue, 20 Jun 2000 15:18:40 +0000 (15:18 +0000)]
[project @ 2000-06-20 15:18:40 by simonmar]
Don't try to finalize DEAD_WEAKs. This fix has been sitting in my
tree for so long, I can't remember whether it was a real bugfix or
just a cleanup, oh well.
simonmar [Tue, 20 Jun 2000 15:15:44 +0000 (15:15 +0000)]
[project @ 2000-06-20 15:15:44 by simonmar]
Set the context switch flag to zero when running a new thread; the
timer interrupt now initiates a context switch.
simonmar [Tue, 20 Jun 2000 15:12:14 +0000 (15:12 +0000)]
[project @ 2000-06-20 15:12:14 by simonmar]
context switch on a timer interrupt.
simonmar [Tue, 20 Jun 2000 11:21:28 +0000 (11:21 +0000)]
[project @ 2000-06-20 11:21:28 by simonmar]
remove ToDo about mkdependHS and -osuf.
simonmar [Tue, 20 Jun 2000 11:20:50 +0000 (11:20 +0000)]
[project @ 2000-06-20 11:20:50 by simonmar]
mkdependHS doesn't understand the -o option anymore; instead it grokss
ghc's -osuf option. We never really used this, and it behaves
strangely when mixed with -s, but at least now it doesn't conflict
with GHC's -opt<blah> options.
simonmar [Tue, 20 Jun 2000 11:03:55 +0000 (11:03 +0000)]
[project @ 2000-06-20 11:03:55 by simonmar]
- print the version number as x.yy.z (i.e. replace ", patchlevel z"
with ".z"), but omit the .z if z == 0.
- add --numeric-version flag which prints x.yy.z without the verbage.
simonmar [Tue, 20 Jun 2000 10:24:39 +0000 (10:24 +0000)]
[project @ 2000-06-20 10:24:39 by simonmar]
- fix -optCrts (was being overriden by -optC)
- fix -osuf with -split-objs
- fix -odir
panne [Mon, 19 Jun 2000 21:28:00 +0000 (21:28 +0000)]
[project @ 2000-06-19 21:28:00 by panne]
* makeForeignObj => newForeignObj
* Tried to make type mapping table look less strange, but this
succeeded only a little bit. Could somebody else have a look?
simonmar [Mon, 19 Jun 2000 15:13:43 +0000 (15:13 +0000)]
[project @ 2000-06-19 15:13:43 by simonmar]
oops, backout accidental commit
chak [Mon, 19 Jun 2000 13:37:50 +0000 (13:37 +0000)]
[project @ 2000-06-19 13:37:50 by chak]
Updated the building from .hc section.
*MERGE*
simonmar [Mon, 19 Jun 2000 13:28:35 +0000 (13:28 +0000)]
[project @ 2000-06-19 13:28:35 by simonmar]
Time fixes from Michael Weber <michael.weber@post.rwth-aachen.de>:
* `toClockTime' previously didn't honor the `tz' field of a
`CalendarTime', which led to time warping when applying
=> (toUTCTime (toClockTime ... (toUTCTime (toClockTime someTime) ... )))
continuously.
Now it accepts at least <local>- and UTC-encoded `CalendarTime's
(TODO: test, whether all timezones work) and converts them
correctly to <secs from epoch>-format (which is always UTC, as one
might have guessed).
* `addToClockTime' now works.
Previously, `tz' seconds were added(!) when used like:
=> addToClockTime noTimeDiff someTime
which is clearly wrong.
Now, the following (hopefully) always holds
=> someTime == (addToClockTime noTimeDiff someTime)
* `diffClockTimes' works correctly, and is the dual to
`addToClockTime', i.e.
=> diff == ((addToClockTime diff someTime) `diffClockTimes` someTime)
should now hold for all diff, someTime
Previously, it reports ugly diffs at {min,hour,day,...}-breaks,
for example:
=> "2000/06/18 01:00 UTC"
`diffClockTimes` "2000/06/17 23:00 UTC" == 1 day, -22 hours
whereas now it emits "7200 secs". This number can be converted
with `normalizeTimeDiff' to "2 hours".
* added `normalizeTimeDiff', which calculates year, month, days,
etc. out of an unnormalized `TimeDiff' (generated by
`diffClockTimes', for example)
* `formatTimeDiff': added the missing "%c" case. The
format is proprietary, though... Is there a nicer one?
simonmar [Mon, 19 Jun 2000 12:17:59 +0000 (12:17 +0000)]
[project @ 2000-06-19 12:17:59 by simonmar]
ignore -no-link-chk for backwards compat.
simonmar [Mon, 19 Jun 2000 12:09:22 +0000 (12:09 +0000)]
[project @ 2000-06-19 12:09:22 by simonmar]
remove tests subdir
simonmar [Mon, 19 Jun 2000 10:59:56 +0000 (10:59 +0000)]
[project @ 2000-06-19 10:59:56 by simonmar]
Give 'ghc -E' the traditional behaviour: the output is dumped to
stdout. The new driver also generates <file>.cpp.
rrt [Mon, 19 Jun 2000 10:05:38 +0000 (10:05 +0000)]
[project @ 2000-06-19 10:05:38 by rrt]
Changed SUBDIRS from users_guide to set (the former doesn't build any more
except as part of the latter).
panne [Sun, 18 Jun 2000 21:12:31 +0000 (21:12 +0000)]
[project @ 2000-06-18 21:12:31 by panne]
Added Eq and Ord instances for ArrayException
simonmar [Sun, 18 Jun 2000 17:09:33 +0000 (17:09 +0000)]
[project @ 2000-06-18 17:09:33 by simonmar]
mention cvs-ghc@haskell.org
simonmar [Sun, 18 Jun 2000 16:26:52 +0000 (16:26 +0000)]
[project @ 2000-06-18 16:26:52 by simonmar]
Add FreeBSD-compatible catalog. This one works on my FreeBSD 4.0 box
with the following packages installed:
docbook-3.1
dsssl-docbook-modular-1.52
jade-1.2.1
iso8879-1986
alternatively, installing the 'docproj' meta-package gets everything
you need.
chak [Sun, 18 Jun 2000 12:13:56 +0000 (12:13 +0000)]
[project @ 2000-06-18 12:13:56 by chak]
Script that automates building GHC from .hc files.
?? Shall I edit the corresponding section in building.sgml to advise the use
?? of this script (thus replacing the outdated description of the manual
?? steps - which is wrong anyway).
simonpj [Sun, 18 Jun 2000 08:37:20 +0000 (08:37 +0000)]
[project @ 2000-06-18 08:37:17 by simonpj]
*** MERGE WITH 4.07 ***
* Fix the ambiguity check in TcMonotype.lhs so that
it is not carried out for types read from interface
files. Some workers may get ambiguous types but that
does not matter, and should not make compilation fail.
More detail in the comments with TcMonoType.tc_type_kind
(the HsForAll case)
* Don't create specialisations for type applications
where there's a matching rule. The rule should
clearly take precedence. (Bug reported by Sven.)
I havn't tested this fix.
* Run the occurrence analyser after tidyCore, so that
occurrence info (notably dead-var info) is correct
for the code generators. This should fix Erik's problem,
but again I've not tested the fix. The extra call
is in Main.lhs
* Fix CoreToStg so that it can handle an StgLam in mkStgCase.
This only shows up in a wierd case, documented in
CoreToStg.mkStgCase
chak [Sat, 17 Jun 2000 07:52:30 +0000 (07:52 +0000)]
[project @ 2000-06-17 07:52:30 by chak]
* SGML_DOC can now hold a _list_ of sgml documentations to build
* both building.sgml and ffi-art.sgml are now build in docs/
*MERGE*
sewardj [Fri, 16 Jun 2000 09:32:32 +0000 (09:32 +0000)]
[project @ 2000-06-16 09:32:32 by sewardj]
Fix sparc bustage following latest round of NCG hacking (reg-alloc stuff).
Still won't work, but at least should compile again.