panne [Mon, 18 Aug 2003 10:47:34 +0000 (10:47 +0000)]
[project @ 2003-08-18 10:47:33 by panne]
The autoconf docs talk about "configure.ac" instead of the misnomer
"configure.in" for more than two years now, so let's do the same.
panne [Mon, 18 Aug 2003 10:33:41 +0000 (10:33 +0000)]
[project @ 2003-08-18 10:33:39 by panne]
Updated to match latest versions from autoconf repository
dons [Mon, 18 Aug 2003 09:27:54 +0000 (09:27 +0000)]
[project @ 2003-08-18 09:27:54 by dons]
x86 OpenBSD moves into ELF land
(and sparc, alpha, sparc64 were already there)
Also, it needs sligtly different header files.
And dlopen can only be called with the DL_LAZY argument on this
system.
dons [Mon, 18 Aug 2003 09:24:50 +0000 (09:24 +0000)]
[project @ 2003-08-18 09:24:50 by dons]
OpenBSD has now moved to ELF on x86 architectures.
So mangle it.
dons [Mon, 18 Aug 2003 09:23:09 +0000 (09:23 +0000)]
[project @ 2003-08-18 09:23:09 by dons]
OpenBSD x86 has finally moved to ELF.
So it no longer needs a leading underscore on symbols.
However, like FreeBSD, it tries to be friendly, and accept it
anyway. So we have to hard code it.
dons [Mon, 18 Aug 2003 00:14:10 +0000 (00:14 +0000)]
[project @ 2003-08-18 00:14:10 by dons]
sparc-*-openbsd mangler
dons [Mon, 18 Aug 2003 00:01:07 +0000 (00:01 +0000)]
[project @ 2003-08-18 00:01:07 by dons]
Add canonical form for sparc-*-openbsd*
sof [Sun, 17 Aug 2003 01:36:54 +0000 (01:36 +0000)]
[project @ 2003-08-17 01:36:54 by sof]
expandEnvVars.expandString: don't drop prefix when locating variable
reference.
Merge to STABLE.
igloo [Sat, 16 Aug 2003 11:19:08 +0000 (11:19 +0000)]
[project @ 2003-08-16 11:19:07 by igloo]
Sparc Linux configure and mangler
igloo [Fri, 15 Aug 2003 15:53:01 +0000 (15:53 +0000)]
[project @ 2003-08-15 15:53:00 by igloo]
Add support for splicing in foreign exports.
simonmar [Fri, 15 Aug 2003 12:43:57 +0000 (12:43 +0000)]
[project @ 2003-08-15 12:43:57 by simonmar]
Fix a bug in forkProcess: the current thread should not be on the run
queue while it is running.
Merged from STABLE (1.169.2.1).
simonmar [Fri, 15 Aug 2003 11:31:02 +0000 (11:31 +0000)]
[project @ 2003-08-15 11:31:02 by simonmar]
Fix a cause of non-linearity when compiling code with large amounts of
static data, such as long lists of integers.
The problem was that CorePrep was calling allLazy on the list of
floated bindings at each level of a nested let, and allLazy runs over
all the bindings floated so far, hence O(n^2) performance. The fix is
to cache the result of allLazy along with the list of floated
bindings.
simonmar [Thu, 14 Aug 2003 15:43:22 +0000 (15:43 +0000)]
[project @ 2003-08-14 15:43:22 by simonmar]
Don't require Alex for building GHC (yet).
simonmar [Thu, 14 Aug 2003 15:36:13 +0000 (15:36 +0000)]
[project @ 2003-08-14 15:36:13 by simonmar]
Reset g0s0->n_to_blocks when using the two-space collector. Fixes
ever-increasing live data count with +RTS -Sstderr -G1.
simonmar [Thu, 14 Aug 2003 10:43:10 +0000 (10:43 +0000)]
[project @ 2003-08-14 10:43:10 by simonmar]
Fix terrible bug in isNonPtrRep, which was ignoring the possibily of
the 64-bit reps. The result was that functions with 2 64-bit args
were getting the wrong argument descriptor, leading to crashes.
Thanks to Peter Thiemann for a great bug report.
simonmar [Wed, 13 Aug 2003 13:35:07 +0000 (13:35 +0000)]
[project @ 2003-08-13 13:35:07 by simonmar]
Fix the Alex-version-detecting machinery
simonmar [Wed, 13 Aug 2003 12:51:01 +0000 (12:51 +0000)]
[project @ 2003-08-13 12:51:01 by simonmar]
Add alex to AllProjects
simonmar [Wed, 13 Aug 2003 12:43:13 +0000 (12:43 +0000)]
[project @ 2003-08-13 12:43:13 by simonmar]
Add DERIVED_ALEX_SRCS to maintainer-clean
simonmar [Wed, 13 Aug 2003 12:34:46 +0000 (12:34 +0000)]
[project @ 2003-08-13 12:34:45 by simonmar]
Add Alex support.
simonmar [Wed, 13 Aug 2003 12:34:05 +0000 (12:34 +0000)]
[project @ 2003-08-13 12:34:04 by simonmar]
Detect Alex, and add --use-src-tree-alex option to configure.
simonmar [Mon, 11 Aug 2003 08:53:39 +0000 (08:53 +0000)]
[project @ 2003-08-11 08:53:39 by simonmar]
Revert part of previous commit that sneaked in by accident.
simonmar [Fri, 8 Aug 2003 16:46:51 +0000 (16:46 +0000)]
[project @ 2003-08-08 16:46:51 by simonmar]
Fix string gap.
simonmar [Fri, 8 Aug 2003 13:22:56 +0000 (13:22 +0000)]
[project @ 2003-08-08 13:22:54 by simonmar]
Moved the contents of fptools/happy/alex -r simonm-hackery-branch to
here. This will become Alex version 2.0 when I've hacked around with
the build and documentation a bit.
simonmar [Fri, 8 Aug 2003 08:08:47 +0000 (08:08 +0000)]
[project @ 2003-08-08 08:08:47 by simonmar]
- Add -main-is to the flag table
- Sort entries in the linker section alphabetically
simonpj [Wed, 6 Aug 2003 15:26:02 +0000 (15:26 +0000)]
[project @ 2003-08-06 15:26:02 by simonpj]
Add a note about readline on Win32
ross [Tue, 5 Aug 2003 15:52:01 +0000 (15:52 +0000)]
[project @ 2003-08-05 15:52:01 by ross]
punctuation
simonpj [Tue, 5 Aug 2003 14:01:34 +0000 (14:01 +0000)]
[project @ 2003-08-05 14:01:34 by simonpj]
Add another comment
panne [Tue, 5 Aug 2003 12:41:44 +0000 (12:41 +0000)]
[project @ 2003-08-05 12:41:44 by panne]
* Added QuickCheck package to docs
* Mention OpenGL/GLUT package for Hugs, too
simonmar [Tue, 5 Aug 2003 12:00:03 +0000 (12:00 +0000)]
[project @ 2003-08-05 12:00:03 by simonmar]
Remove special mingw32 case for configuring GMP, since it appears to
be wrong.
panne [Tue, 5 Aug 2003 07:25:56 +0000 (07:25 +0000)]
[project @ 2003-08-05 07:25:56 by panne]
* Unbreak bootstrapping with GHC >= 6.1
* Nuked CVS keywords, you'll hate them when merging...
simonmar [Mon, 4 Aug 2003 14:38:59 +0000 (14:38 +0000)]
[project @ 2003-08-04 14:38:59 by simonmar]
A couple of small updates that were sitting in my tree..
ross [Mon, 4 Aug 2003 10:06:31 +0000 (10:06 +0000)]
[project @ 2003-08-04 10:06:31 by ross]
minor rearrangement
panne [Fri, 1 Aug 2003 15:38:41 +0000 (15:38 +0000)]
[project @ 2003-08-01 15:38:41 by panne]
Compile with -Wall
panne [Fri, 1 Aug 2003 15:10:34 +0000 (15:10 +0000)]
[project @ 2003-08-01 15:10:34 by panne]
Even more warning police:
* Help GCC a bit with "unitialized" variables.
* Added #include for islower
* Nuked variable `syncs', which always contained the empty string.
GCC complained about an empty format string, BTW.
panne [Fri, 1 Aug 2003 14:58:48 +0000 (14:58 +0000)]
[project @ 2003-08-01 14:58:47 by panne]
Warning police: Nuked unused variables.
panne [Fri, 1 Aug 2003 14:50:50 +0000 (14:50 +0000)]
[project @ 2003-08-01 14:50:48 by panne]
Warning police: GCC complains about built-in function `log' being used
as a non-function, so let's rename it to logFile.
sof [Thu, 31 Jul 2003 23:16:13 +0000 (23:16 +0000)]
[project @ 2003-07-31 23:16:13 by sof]
disable --enable-win32-dlls, feature not currently on offer
ross [Thu, 31 Jul 2003 17:47:18 +0000 (17:47 +0000)]
[project @ 2003-07-31 17:47:18 by ross]
add link to parsec package
simonmar [Thu, 31 Jul 2003 10:07:02 +0000 (10:07 +0000)]
[project @ 2003-07-31 10:07:02 by simonmar]
Add comment about the LDV code in UPD_DB_UPDATABLE when
EAGER_BLACKHOLING is no - it looks like it can't possibly work to me.
simonmar [Wed, 30 Jul 2003 17:09:12 +0000 (17:09 +0000)]
[project @ 2003-07-30 17:09:12 by simonmar]
Fix problem with MARK.
Patch submitted by Nicholas Nethercote <njn25@cam.ac.uk>.
simonmar [Wed, 30 Jul 2003 10:38:42 +0000 (10:38 +0000)]
[project @ 2003-07-30 10:38:42 by simonmar]
TEXT_BEFORE_HEAP is not used any more.
simonmar [Wed, 30 Jul 2003 10:01:46 +0000 (10:01 +0000)]
[project @ 2003-07-30 10:01:46 by simonmar]
Throw away an SCC on a single variable. This seems to be justified:
there can be no work to attribute to the current cost centre when
evaluating a lone variable, other than the act of entering the
closure, and possibly returning immediately if it is a variable.
This also fixes a bug in profiling, which showed up as incorrect
transformations made by the simplifier resulting in extra strictness.
The simplifier assumes (in Simplify.simplLazyBind) that (let x = e in
x) will have been turned into x, but this isn't true if there's an SCC
around the x.
wolfgang [Wed, 30 Jul 2003 09:21:12 +0000 (09:21 +0000)]
[project @ 2003-07-30 09:21:12 by wolfgang]
OpenGL support for Mac OS X:
In FPTOOLS_CHECK_HTYPE, be ready to include Apple's non-standard
<OpenGL/gl.h>
instead of the usual <GL/gl.h>.
wolfgang [Wed, 30 Jul 2003 09:20:42 +0000 (09:20 +0000)]
[project @ 2003-07-30 09:20:41 by wolfgang]
OpenGL support for Mac OS X:
"./configure --enable-hopengl" on Mac OS X now uses the OpenGL libs that come
with Apple's "Quartz" display system.
"./configure --enable-hopengl=x11" looks for an X11 implementation of OpenGL
(which is an optional install on Mac OS X).
Added a corresponding "USE_QUARTZ_OPENGL" flag to config.h
panne [Tue, 29 Jul 2003 19:08:40 +0000 (19:08 +0000)]
[project @ 2003-07-29 19:08:40 by panne]
Revert to previous commit, i.e. ProjectVersion is now a plain "6.1"
again, not "6.1.
20030727". It looked like an accidental commit and
broke my build scripts.
igloo [Tue, 29 Jul 2003 16:31:39 +0000 (16:31 +0000)]
[project @ 2003-07-29 16:31:39 by igloo]
gcc 3.3's cpp fix on sparc.
Could be merged to stable if it's not too late.
simonpj [Tue, 29 Jul 2003 10:15:31 +0000 (10:15 +0000)]
[project @ 2003-07-29 10:15:31 by simonpj]
Print HsExprs a bit deeper before ... ellipsis
simonpj [Tue, 29 Jul 2003 10:15:10 +0000 (10:15 +0000)]
[project @ 2003-07-29 10:14:57 by simonpj]
Comments only
moran [Mon, 28 Jul 2003 16:16:07 +0000 (16:16 +0000)]
[project @ 2003-07-28 16:16:07 by moran]
Fix multi-slurp protection (#define was missing). (No I don't go around
looking at header files for minor problems like this; I was actually trying to
remind myself how to do it, and this was the first place I looked :-)
simonmar [Mon, 28 Jul 2003 16:05:39 +0000 (16:05 +0000)]
[project @ 2003-07-28 16:05:30 by simonmar]
Disable update-in-place. In its current form, it has a serious bug:
if the thunk being updated happens to have turned into a BLACKHOLE_BQ,
then the mutable list will be corrupted by the update.
Disabling update-in-place has some performance implications: many
programs are not affected, but one program in nofib (nucleic2) goes
about 20% slower. However, I can get it to go 300% faster by adding a
few strictness annotations and compiling with -funbox-strict-fields.
simonmar [Mon, 28 Jul 2003 15:59:09 +0000 (15:59 +0000)]
[project @ 2003-07-28 15:59:09 by simonmar]
Comments only: the TICK_UPD_*_IN_PLACE aren't relevant any more.
simonmar [Mon, 28 Jul 2003 15:57:40 +0000 (15:57 +0000)]
[project @ 2003-07-28 15:57:40 by simonmar]
TICK_UPD_CON_IN_NEW() in the update code is wrong now, because it
could be a PAP, not just a CON.
simonpj [Mon, 28 Jul 2003 13:31:37 +0000 (13:31 +0000)]
[project @ 2003-07-28 13:31:37 by simonpj]
Reorganise the type-system-extension part of GlaExts docs
simonpj [Mon, 28 Jul 2003 12:04:27 +0000 (12:04 +0000)]
[project @ 2003-07-28 12:04:27 by simonpj]
--------------------------
Fix an obscure but long-standing bug in Type.applyTys
--------------------------
The interesting case, which previously killed GHC 6.0, is this
applyTys (forall a.a) [forall b.b, Int]
This really can happen, via dressing up polymorphic types with newtype
clothing. Here's an example:
newtype R = R (forall a. a->a)
foo = case undefined :: R of
Test simplCore/should_compile/simpl0009 uses this as a test case.
simonpj [Mon, 28 Jul 2003 10:22:58 +0000 (10:22 +0000)]
[project @ 2003-07-28 10:22:58 by simonpj]
Comments only
simonmar [Mon, 28 Jul 2003 09:01:58 +0000 (09:01 +0000)]
[project @ 2003-07-28 09:01:58 by simonmar]
Fix previous patch (backslashes required in multi-line macro defns).
simonmar [Fri, 25 Jul 2003 14:39:17 +0000 (14:39 +0000)]
[project @ 2003-07-25 14:39:17 by simonmar]
Further updates to the hc-file-bundle target: ghc/compiler/utils is
required, and we should also keep ghc/rts/AutoApply.hc.
simonmar [Fri, 25 Jul 2003 10:22:25 +0000 (10:22 +0000)]
[project @ 2003-07-25 10:22:25 by simonmar]
Some more revisions; it nearly works on my unregisterised setup now.
simonmar [Fri, 25 Jul 2003 08:57:34 +0000 (08:57 +0000)]
[project @ 2003-07-25 08:57:34 by simonmar]
Remove multi-line strings in macros (CPP is stricter in GCC 3.3).
From: Oliver Braun.
simonmar [Thu, 24 Jul 2003 16:31:42 +0000 (16:31 +0000)]
[project @ 2003-07-24 16:31:42 by simonmar]
Build genapply when BootingFromHc too - it'll help when compiling the
RTS in the second stage (after turning off BootingFromHc).
simonpj [Thu, 24 Jul 2003 15:27:27 +0000 (15:27 +0000)]
[project @ 2003-07-24 15:27:27 by simonpj]
Wibbles
simonmar [Thu, 24 Jul 2003 15:12:35 +0000 (15:12 +0000)]
[project @ 2003-07-24 15:12:35 by simonmar]
Getting closer for GHC 6.x: now gets as far as building a working
compiler from unregisterised HC files.
simonmar [Thu, 24 Jul 2003 15:04:41 +0000 (15:04 +0000)]
[project @ 2003-07-24 15:04:41 by simonmar]
Fix for building _stub.c files in BootingFromHc mode.
simonpj [Thu, 24 Jul 2003 14:41:56 +0000 (14:41 +0000)]
[project @ 2003-07-24 14:41:48 by simonpj]
Sync deriving( Data ) with the new Data class
simonmar [Thu, 24 Jul 2003 13:57:20 +0000 (13:57 +0000)]
[project @ 2003-07-24 13:57:20 by simonmar]
Let's build genprimopcode when bootstrapping too. There doesn't seem
to be an easy way around this.
simonmar [Thu, 24 Jul 2003 13:40:05 +0000 (13:40 +0000)]
[project @ 2003-07-24 13:40:05 by simonmar]
Fix for unregisterised bootstrapping
ralf [Thu, 24 Jul 2003 12:20:00 +0000 (12:20 +0000)]
[project @ 2003-07-24 12:19:56 by ralf]
Major refactoring of Data/Generics.
This also affects the compiler (because of deriving issues).
This is an intermediate commit.
The library is supposed to compile fine.
But the deriving stuff for Data needs to be revised.
The testsuite for Data/Generics will not pass.
gread is broken at the moment.
So it is strongly recommended not to cvs upd for a few hours or a day.
Detailed description of changes:
- Split up Data/Dynamic into Data/Typeable and Data/Dynamic.
(This makes clear what part is about TypeReps and cast vs.
dynamics. The latter is not needed by Data/Generics.)
- Renamed Data/include/Dynamic.h -> Typeable.h to end confusion.
- Split up Data/Generics.hs in a set of modules.
- Revised class Data:
- Got rid of gunfold but added fromConstr as more primtive one
- Revised representations of constructors
- Revised treatment of primitive types
- Revised type of gmapQ; preserved old gmapQ as gmapL
- Added a module Data/Types.hs for treatment of types as values.
This is going somewhere.
simonmar [Thu, 24 Jul 2003 11:57:48 +0000 (11:57 +0000)]
[project @ 2003-07-24 11:57:48 by simonmar]
Fixes to the hc-file-bundle target
simonmar [Thu, 24 Jul 2003 11:46:01 +0000 (11:46 +0000)]
[project @ 2003-07-24 11:46:01 by simonmar]
Only haskell98 and base libraries are needed to link the compiler.
simonmar [Thu, 24 Jul 2003 11:44:42 +0000 (11:44 +0000)]
[project @ 2003-07-24 11:44:42 by simonmar]
More BootingFromHc fixes
simonmar [Thu, 24 Jul 2003 11:03:07 +0000 (11:03 +0000)]
[project @ 2003-07-24 11:03:07 by simonmar]
- Move suffix rules from bootstrap.mk to suffix.mk
- Make the bootstrap suffix rules $(odir)-aware, so they work for the compiler
simonmar [Thu, 24 Jul 2003 10:47:05 +0000 (10:47 +0000)]
[project @ 2003-07-24 10:47:05 by simonmar]
Remove ancient/bogus booting-from-hc stuff.
simonmar [Thu, 24 Jul 2003 10:38:33 +0000 (10:38 +0000)]
[project @ 2003-07-24 10:38:33 by simonmar]
- Remove hslibs stuff (we don't need hslibs for bootstrapping now)
- Add libraries/unix/include to the -I list
simonmar [Thu, 24 Jul 2003 09:29:10 +0000 (09:29 +0000)]
[project @ 2003-07-24 09:29:10 by simonmar]
Set GhcWithInterpreter=NO in stage2
simonpj [Thu, 24 Jul 2003 07:45:09 +0000 (07:45 +0000)]
[project @ 2003-07-24 07:45:09 by simonpj]
Document deriving(Typeable,Data)
simonpj [Thu, 24 Jul 2003 07:44:21 +0000 (07:44 +0000)]
[project @ 2003-07-24 07:44:21 by simonpj]
Add cross refs
simonpj [Thu, 24 Jul 2003 07:38:54 +0000 (07:38 +0000)]
[project @ 2003-07-24 07:38:54 by simonpj]
For GHCi, a recent simplification in TcRnDrive.tc_stmts turned out to
be bogus. Briefly, we were returning *monomorphic* values from a user
stmt (e.g. "let f x y = x>y") when we should wrap the *polymorphic* values.
See the comment with mk_return in tc_stmts.
simonmar [Wed, 23 Jul 2003 16:19:48 +0000 (16:19 +0000)]
[project @ 2003-07-23 16:19:48 by simonmar]
There's no need to pass -u Main_zdmain_closure to the linker, indeed
this causes problems when there isn't a Main_zdmain_closure
(eg. linking a C program using GHC).
merge to STABLE
simonmar [Wed, 23 Jul 2003 15:42:24 +0000 (15:42 +0000)]
[project @ 2003-07-23 15:42:24 by simonmar]
PrimopWrappers hack no longer required.
simonmar [Wed, 23 Jul 2003 15:35:27 +0000 (15:35 +0000)]
[project @ 2003-07-23 15:35:27 by simonmar]
We don't need the MAKEFLAGS hack any more.
simonmar [Wed, 23 Jul 2003 15:31:06 +0000 (15:31 +0000)]
[project @ 2003-07-23 15:31:06 by simonmar]
Fix depend rule for BootingFromHc
simonmar [Wed, 23 Jul 2003 15:25:32 +0000 (15:25 +0000)]
[project @ 2003-07-23 15:25:32 by simonmar]
Something strange was going on with the depend rule and
$(STAMP_PKG_CONF); fix it.
simonmar [Wed, 23 Jul 2003 15:14:50 +0000 (15:14 +0000)]
[project @ 2003-07-23 15:14:50 by simonmar]
- no need for hacky delayed setting of UseGhcForCc
- fix AutoApply.hc rule when BootingFromHc=YES
simonmar [Wed, 23 Jul 2003 15:13:40 +0000 (15:13 +0000)]
[project @ 2003-07-23 15:13:40 by simonmar]
No need to test BootingFromHc (which won't be set yet) before setting
UseGhcForCc.
simonmar [Wed, 23 Jul 2003 15:12:55 +0000 (15:12 +0000)]
[project @ 2003-07-23 15:12:55 by simonmar]
Comment previous commit
simonmar [Wed, 23 Jul 2003 15:12:30 +0000 (15:12 +0000)]
[project @ 2003-07-23 15:12:30 by simonmar]
UseGhcForCc is only relevant when BootingFromHc=NO
simonmar [Wed, 23 Jul 2003 14:52:25 +0000 (14:52 +0000)]
[project @ 2003-07-23 14:52:25 by simonmar]
alpha*-unknown-linux ==> alpha*-unknown-linux* (from Ian Lynagh)
simonmar [Wed, 23 Jul 2003 14:05:51 +0000 (14:05 +0000)]
[project @ 2003-07-23 14:05:51 by simonmar]
Always create directories for the .o file, not just when using the
compilation manager.
simonmar [Wed, 23 Jul 2003 13:39:11 +0000 (13:39 +0000)]
[project @ 2003-07-23 13:39:11 by simonmar]
Fix egregious bug in the unregisterised case for RET_N, which was
causing an unregisterised compiler to crash.
simonpj [Wed, 23 Jul 2003 13:08:55 +0000 (13:08 +0000)]
[project @ 2003-07-23 13:08:55 by simonpj]
Comments and cosmetics about dataTcOccs
simonpj [Wed, 23 Jul 2003 13:08:22 +0000 (13:08 +0000)]
[project @ 2003-07-23 13:08:22 by simonpj]
Comment case-alternative invariants
simonmar [Wed, 23 Jul 2003 11:44:24 +0000 (11:44 +0000)]
[project @ 2003-07-23 11:44:24 by simonmar]
forgot one file
simonmar [Wed, 23 Jul 2003 11:43:21 +0000 (11:43 +0000)]
[project @ 2003-07-23 11:43:16 by simonmar]
These test have all moved over to
fptools/testsuite/tests/ghc-regress/ghci. The old test suite in
fptools/ghc/tests is now finally dead!
simonmar [Tue, 22 Jul 2003 16:18:06 +0000 (16:18 +0000)]
[project @ 2003-07-22 16:18:06 by simonmar]
Commit an untested, but hopefully more workable and up-to-date version
of this script.
simonmar [Tue, 22 Jul 2003 16:11:26 +0000 (16:11 +0000)]
[project @ 2003-07-22 16:11:26 by simonmar]
Another cost-centre-restoring fix. Restoring the cost centre in an
unboxed-tuple case alternative was using the wrong stack offset.
simonmar [Tue, 22 Jul 2003 14:51:50 +0000 (14:51 +0000)]
[project @ 2003-07-22 14:51:50 by simonmar]
When GhcUnregisterised=YES, we must tell genapply about it.
simonmar [Tue, 22 Jul 2003 14:24:57 +0000 (14:24 +0000)]
[project @ 2003-07-22 14:24:57 by simonmar]
Fix a nasty bug in eq_ufVar, which meant that unfoldings were
comparing equal when non-local names in the unfolding had changed,
which could lead to erroneously avoiding recompilation.
This bug could cause bad behaviour along the lines of "my program was
segfaulting, but I did make clean; make and now it works!".
merge to STABLE
simonmar [Tue, 22 Jul 2003 13:23:44 +0000 (13:23 +0000)]
[project @ 2003-07-22 13:23:44 by simonmar]
Oops, move include of stdlib.h after MachRegs.h, so that it comes
after register variable declarations.
simonmar [Mon, 21 Jul 2003 15:24:43 +0000 (15:24 +0000)]
[project @ 2003-07-21 15:24:42 by simonmar]
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.
ross [Mon, 21 Jul 2003 15:14:18 +0000 (15:14 +0000)]
[project @ 2003-07-21 15:14:18 by ross]
Check for unknown flags before (rather than after) checking -o and -ohi
flags, avoiding confusing behaviour like
% ghc -bad-option -c x.hs
ghc-6.0: unrecognised flags: -bad-option
% ghc -bad-option -c x.hs -ohi x.hi
ghc-6.0: -ohi can only be used when compiling a single source file
Usage: For basic information, try the `--help' option.
% ghc -bad-option -c x.hs -o x.o
ghc-6.0: can't apply -o to multiple source files
Usage: For basic information, try the `--help' option.
(looks better with scores of flags)
please merge to STABLE