simonmar [Tue, 29 Mar 2005 14:02:06 +0000 (14:02 +0000)]
[project @ 2005-03-29 14:02:06 by simonmar]
Old GHCs used -package-name instead of -ignore-package.
wolfgang [Mon, 28 Mar 2005 22:03:33 +0000 (22:03 +0000)]
[project @ 2005-03-28 22:03:33 by wolfgang]
Track recent dynamic flags changes; fixes the build for Mac OS X.
panne [Sun, 27 Mar 2005 13:41:19 +0000 (13:41 +0000)]
[project @ 2005-03-27 13:41:13 by panne]
* Some preprocessors don't like the C99/C++ '//' comments after a
directive, so use '/* */' instead. For consistency, a lot of '//' in
the include files were converted, too.
* UnDOSified libraries/base/cbits/runProcess.c.
* My favourite sport: Killed $Id$s.
sof [Thu, 24 Mar 2005 18:44:16 +0000 (18:44 +0000)]
[project @ 2005-03-24 18:44:16 by sof]
SRC_HC_OPTS: only add -ignore-package if supported by underlying GHC.
(reqd to be able to compile greencard/lib, hdirect/(com)lib with
non-cutting edge GHCen.)
Merge to STABLE.
simonmar [Thu, 24 Mar 2005 16:14:11 +0000 (16:14 +0000)]
[project @ 2005-03-24 16:14:00 by simonmar]
Cleanup the upsweep strategy in GHC.load.
Now it's hopefully clearer how we decide what modules to recompile,
and which are "stable" (not even looked at) during a reload. See the
comments for details.
Also, I've taken some trouble to explicitly prune out things that
aren't required before a reload, which should reduce the memory
requirements for :reload in GHCi. Currently I believe it keeps most
of the old program until the reload is complete, now it shouldn't
require any extra memory.
simonmar [Thu, 24 Mar 2005 15:22:33 +0000 (15:22 +0000)]
[project @ 2005-03-24 15:22:33 by simonmar]
tweaks to a (commented-out) trace message
simonmar [Thu, 24 Mar 2005 15:11:07 +0000 (15:11 +0000)]
[project @ 2005-03-24 15:11:07 by simonmar]
mkStgAltType: try to find the non-abstract TyCon if the one in the
type of the case binder turns out to be an HiBootTyCon. Fixes
possible code generation bugs when compiling programs with recursive
modules.
simonmar [Thu, 24 Mar 2005 10:02:36 +0000 (10:02 +0000)]
[project @ 2005-03-24 10:02:36 by simonmar]
Don't build GHC in all of GhcLibWays, like we do for other libraries
simonmar [Thu, 24 Mar 2005 09:27:20 +0000 (09:27 +0000)]
[project @ 2005-03-24 09:27:20 by simonmar]
omit __hscore_getFolderPath if __GLASGOW_HASKELL__ < 604
simonmar [Thu, 24 Mar 2005 09:19:53 +0000 (09:19 +0000)]
[project @ 2005-03-24 09:19:52 by simonmar]
__hscore_getFolderPath is ccall, not stdcall.
simonmar [Thu, 24 Mar 2005 08:46:49 +0000 (08:46 +0000)]
[project @ 2005-03-24 08:46:49 by simonmar]
Disable SplitObjs when building stage2 (which is also package now, so
was getting the splitting treatment by default).
sof [Thu, 24 Mar 2005 00:38:57 +0000 (00:38 +0000)]
[project @ 2005-03-24 00:38:57 by sof]
FPTOOLS_HAPPY, FPTOOLS_ALEX: cope with version.mk:ProjectVersion 'x.y.z' formats (ignoring the 'z' patchlevel). Merge to STABLE (I suppose)
sof [Wed, 23 Mar 2005 18:51:34 +0000 (18:51 +0000)]
[project @ 2005-03-23 18:51:33 by sof]
Rename the filenames used for the 'win32' package to {lib}HSwin_32{1.o,2.o,.a}
so as to avoid conflicts with the 'Win32' package when installing to a common
library directory on a case-insensitive filesystem (as we do when building
binary dists under Windows.) This fixes the off-the-bat brokenness experienced
by people trying to load the 'Win32' package with ghci-6.4.
Note: package creators may want to make a note of this if they haven't already,
i.e., while the package infrastructure is case-sensitive, it's unsafe to assume
that the underlying filesystem is.
Merge to STABLE.
simonmar [Wed, 23 Mar 2005 13:27:44 +0000 (13:27 +0000)]
[project @ 2005-03-23 13:27:42 by simonmar]
Build GHC package as part of stage 2, and install it.
The following changes will affect those building the GHC package:
- BuildPackageGHC=YES is no longer required in build.mk
- You must build stage 2 in order to get package ghc.
- 'make install-inplace-pkg' is not required (nor does it work)
- -package ghc can be used with the local stage1 or stage2 compiler
in the current build tree, and it will be available after a
'make install'.
The GHC package is no longer optional, but it doesn't add much to the
build time.
simonmar [Wed, 23 Mar 2005 11:36:54 +0000 (11:36 +0000)]
[project @ 2005-03-23 11:36:54 by simonmar]
Fix XML (sorry, Sven)
simonpj [Tue, 22 Mar 2005 17:33:38 +0000 (17:33 +0000)]
[project @ 2005-03-22 17:33:38 by simonpj]
Windows wibbles
simonmar [Tue, 22 Mar 2005 17:13:55 +0000 (17:13 +0000)]
[project @ 2005-03-22 17:13:12 by simonmar]
A start on the GHC API:
Flesh out the GHC module so that it can replace CompManager. Now, the
clients that used CompManager consume the GHC API instead (namely
Main, DriverMkDepend, and InteractiveUI). Main is significantly
cleaner as a result.
The interface needs more work: in particular, getInfo returns results
in the form of IfaceDecls but we want to use full HsSyn and
Id/DataCon/Class across the boundary instead.
The interfaces for inspecting loaded modules are not yet implemented.
simonmar [Tue, 22 Mar 2005 11:57:05 +0000 (11:57 +0000)]
[project @ 2005-03-22 11:57:05 by simonmar]
wibble
simonmar [Tue, 22 Mar 2005 11:56:07 +0000 (11:56 +0000)]
[project @ 2005-03-22 11:56:07 by simonmar]
update list of files to be touched during bootstrapping
simonmar [Tue, 22 Mar 2005 11:53:48 +0000 (11:53 +0000)]
[project @ 2005-03-22 11:53:48 by simonmar]
remove redundant dependency
wolfgang [Tue, 22 Mar 2005 06:37:59 +0000 (06:37 +0000)]
[project @ 2005-03-22 06:37:57 by wolfgang]
Mac OS X: Make bindist work with dynamic libraries
MERGE TO STABLE
sof [Mon, 21 Mar 2005 18:04:49 +0000 (18:04 +0000)]
[project @ 2005-03-21 18:04:48 by sof]
__hscore_getFolderPath(): Don't limit ourselves to shell32.dll, look up
shfolder.dll too.
Merge to STABLE.
simonmar [Mon, 21 Mar 2005 13:57:28 +0000 (13:57 +0000)]
[project @ 2005-03-21 13:57:28 by simonmar]
Update the -fno-cse flags
simonmar [Mon, 21 Mar 2005 10:50:34 +0000 (10:50 +0000)]
[project @ 2005-03-21 10:50:22 by simonmar]
Complete the transition of -split-objs into a dynamic flag (looks like I
half-finished it in the last commit).
Also: complete the transition of -tmpdir into a dynamic flag, which
involves some rearrangement of code from SysTools into DynFlags.
Someday, initSysTools should move wholesale into initDynFlags, because
most of the state that it initialises is now part of the DynFlags
structure, and the rest could be moved in easily.
sof [Sat, 19 Mar 2005 02:03:28 +0000 (02:03 +0000)]
[project @ 2005-03-19 02:03:26 by sof]
[Windows only]
for System.Directory / Compat.Directory functionality that probes the OS
for local details re: misc user directories, perform late binding of
SHGetFolderPath() from shell32.dll, as it may not be present.
(cf. ghc-6.4's failure to operate on Win9x / NT boxes.) If the API isn't
there, fail with UnsupportedOperation.
Packages.readPackageConfigs: gracefully handle excns from getAppUserDataDirectory.
Merge to STABLE.
simonpj [Fri, 18 Mar 2005 17:17:02 +0000 (17:17 +0000)]
[project @ 2005-03-18 17:17:02 by simonpj]
Import wibble
simonpj [Fri, 18 Mar 2005 17:16:07 +0000 (17:16 +0000)]
[project @ 2005-03-18 17:16:00 by simonpj]
Fix stage-2 build
simonmar [Fri, 18 Mar 2005 13:53:34 +0000 (13:53 +0000)]
[project @ 2005-03-18 13:53:34 by simonmar]
Undo rev. 1.6, these changes shouldn't have been in this tree
simonmar [Fri, 18 Mar 2005 13:41:59 +0000 (13:41 +0000)]
[project @ 2005-03-18 13:37:27 by simonmar]
Flags cleanup.
Basically the purpose of this commit is to move more of the compiler's
global state into DynFlags, which is moving in the direction we need
to go for the GHC API which can have multiple active sessions
supported by a single GHC instance.
Before:
$ grep 'global_var' */*hs | wc -l
78
After:
$ grep 'global_var' */*hs | wc -l
27
Well, it's an improvement. Most of what's left won't really affect
our ability to host multiple sessions.
Lots of static flags have become dynamic flags (yay!). Notably lots
of flags that we used to think of as "driver" flags, like -I and -L,
are now dynamic. The most notable static flags left behind are the
"way" flags, eg. -prof. It would be nice to fix this, but it isn't
urgent.
On the way, lots of cleanup has happened. Everything related to
static and dynamic flags lives in StaticFlags and DynFlags
respectively, and they share a common command-line parser library in
CmdLineParser. The flags related to modes (--makde, --interactive
etc.) are now private to the front end: in fact private to Main
itself, for now.
simonmar [Fri, 18 Mar 2005 11:19:27 +0000 (11:19 +0000)]
[project @ 2005-03-18 11:19:27 by simonmar]
merge rev. 1.6.2.1, simplified slightly:
Initialise a CostCentreStack by generating SIZEOF_CostCentreStack
(gotten from the C compiler) zeros, padded to the nearest word.
Improves on the previous fixes for unpredictable padding (see comment).
simonmar [Fri, 18 Mar 2005 11:16:27 +0000 (11:16 +0000)]
[project @ 2005-03-18 11:16:27 by simonmar]
Add SIZEOF_CostCentreStack
simonpj [Fri, 18 Mar 2005 09:38:12 +0000 (09:38 +0000)]
[project @ 2005-03-18 09:38:12 by simonpj]
Clarify -main-is documentation
simonmar [Thu, 17 Mar 2005 13:16:55 +0000 (13:16 +0000)]
[project @ 2005-03-17 13:16:55 by simonmar]
Fix a few CCCS that should be W_[CCCS] that I just noticed. I suspect
that heap-profiling STM code might run into difficulties in 6.4.
simonmar [Thu, 17 Mar 2005 13:14:59 +0000 (13:14 +0000)]
[project @ 2005-03-17 13:14:59 by simonmar]
Fix +RTS -xc, which is broken in 6.4.
simonmar [Thu, 17 Mar 2005 12:45:09 +0000 (12:45 +0000)]
[project @ 2005-03-17 12:45:08 by simonmar]
Rearrange the fields of CostCentreStack to leave no (or less) room for
arbitrary padding decisions by C compilers.
simonpj [Thu, 17 Mar 2005 12:04:07 +0000 (12:04 +0000)]
[project @ 2005-03-17 12:04:07 by simonpj]
Re-clarify hs-boot docs
simonpj [Thu, 17 Mar 2005 12:03:45 +0000 (12:03 +0000)]
[project @ 2005-03-17 12:03:45 by simonpj]
Follow-up fix to this:
ghc --make should check for a module graph that
contains a hs-boot file with no corresponding parent module
Namely, instead of complaining, just add the parent module.
Merge to STABLE
simonpj [Thu, 17 Mar 2005 10:29:46 +0000 (10:29 +0000)]
[project @ 2005-03-17 10:29:46 by simonpj]
Clarify hs-boot docs
simonpj [Thu, 17 Mar 2005 10:17:02 +0000 (10:17 +0000)]
[project @ 2005-03-17 10:17:02 by simonpj]
minor to fix to (still probably broken) stglint
simonpj [Thu, 17 Mar 2005 10:16:34 +0000 (10:16 +0000)]
[project @ 2005-03-17 10:16:32 by simonpj]
ghc --make should check for a module graph that
contains a hs-boot file with no corresponding parent module
Merge to STABLE
simonpj [Thu, 17 Mar 2005 10:15:37 +0000 (10:15 +0000)]
[project @ 2005-03-17 10:15:32 by simonpj]
Buglet in compiling hs-boot files
We should make GlobalIds not LocalIds
Merge to STABLE
simonpj [Thu, 17 Mar 2005 10:09:24 +0000 (10:09 +0000)]
[project @ 2005-03-17 10:09:24 by simonpj]
Comments
simonmar [Wed, 16 Mar 2005 11:18:59 +0000 (11:18 +0000)]
[project @ 2005-03-16 11:18:59 by simonmar]
Add note about GLUT from Claus (actually I have very little idea if
this is correct or not - Sven, if you have a chance to take a look
that would be great.)
simonpj [Wed, 16 Mar 2005 10:46:32 +0000 (10:46 +0000)]
[project @ 2005-03-16 10:46:32 by simonpj]
Localise the binder for the nested defn in LiberateCase,
to avoid name clashes between top-level names.
Discovered by Laszlo.
Merge to STABLE
simonmar [Wed, 16 Mar 2005 10:24:47 +0000 (10:24 +0000)]
[project @ 2005-03-16 10:24:47 by simonmar]
Further to previous patch: only create the user database if we're modifying
simonmar [Wed, 16 Mar 2005 10:18:28 +0000 (10:18 +0000)]
[project @ 2005-03-16 10:18:28 by simonmar]
Be a bit less eager about creating the user database: now we only
create it when explicitly asked to use it with --user.
simonmar [Wed, 16 Mar 2005 09:24:55 +0000 (09:24 +0000)]
[project @ 2005-03-16 09:24:55 by simonmar]
Fix InstalledPackageInfo link
krasimir [Wed, 16 Mar 2005 09:22:40 +0000 (09:22 +0000)]
[project @ 2005-03-16 09:22:40 by krasimir]
Remove Main module from exported-modules field
simonpj [Wed, 16 Mar 2005 09:04:26 +0000 (09:04 +0000)]
[project @ 2005-03-16 09:04:26 by simonpj]
----------------------------------
Two GADT error-reporting bugs
----------------------------------
Merge to STABLE
...missed file...
1. Bug in kind-checking for GADTs; turned out to be in
isOpenTypeKind on KindVars
....
sof [Tue, 15 Mar 2005 23:44:06 +0000 (23:44 +0000)]
[project @ 2005-03-15 23:44:06 by sof]
[mingw only]setProgName():
robustify by looking for the last '/' or '\\' in argv[0].
My copy of 'gdb' likes to use a mixture of the two, which causes a
fatal error when trying to debug libHSrts_p.a. Other process-invoking
apps/shells might be equally wavering when it comes to the use of slashes.
Merge to STABLE.
krasimir [Tue, 15 Mar 2005 16:37:09 +0000 (16:37 +0000)]
[project @ 2005-03-15 16:37:09 by krasimir]
all modules from GHC are listed in exposed-modules field
simonmar [Tue, 15 Mar 2005 16:15:46 +0000 (16:15 +0000)]
[project @ 2005-03-15 16:15:46 by simonmar]
TARGET->HOST
simonpj [Tue, 15 Mar 2005 15:40:23 +0000 (15:40 +0000)]
[project @ 2005-03-15 15:40:23 by simonpj]
----------------------------------
Two GADT error-reporting bugs
----------------------------------
Merge to STABLE
1. Bug in kind-checking for GADTs; turned out to be in
isOpenTypeKind on KindVars
2. Missed check for the return type for GADTs
krasimir [Tue, 15 Mar 2005 15:11:41 +0000 (15:11 +0000)]
[project @ 2005-03-15 15:11:41 by krasimir]
package.conf.in is changed to the new syntax. The list of exposed modules still
have only one module GHC
simonmar [Tue, 15 Mar 2005 12:11:40 +0000 (12:11 +0000)]
[project @ 2005-03-15 12:11:39 by simonmar]
A very rough start at the GHC API, here so that others can look and
modify it.
ross [Tue, 15 Mar 2005 11:59:36 +0000 (11:59 +0000)]
[project @ 2005-03-15 11:59:32 by ross]
Fix (and test) for SourceForge bug 1161624: erroneous rejection of
foo = proc x -> arr (\y -> y-1) -< x
Now open a new level for the left side of -<, so that variables bound
in the proc are illegal, but variables bound in the expression are OK.
Note that the levels gimmick doesn't really implement holes in the
scope: it rules out nasty obfuscations like
foo x = proc x -> arr (\y -> x-1) -< x
Also added the same treatment to the head of a `form', where it was
missing.
(for STABLE)
krasimir [Tue, 15 Mar 2005 10:33:41 +0000 (10:33 +0000)]
[project @ 2005-03-15 10:33:41 by krasimir]
Without semicolon after "foundit:" at least mingw32-gcc raises "error: label at end of compound statement".
simonpj [Mon, 14 Mar 2005 16:25:21 +0000 (16:25 +0000)]
[project @ 2005-03-14 16:25:21 by simonpj]
Fix obscure_ccall
simonmar [Mon, 14 Mar 2005 12:21:36 +0000 (12:21 +0000)]
[project @ 2005-03-14 12:21:36 by simonmar]
Remove locale setting, it is no longer required
desrt [Sat, 12 Mar 2005 18:25:07 +0000 (18:25 +0000)]
[project @ 2005-03-12 18:25:07 by desrt]
configure-bin.ac: I didn't know this file existed.
Add powerpc-linux and powerpc64-linux targets.
simonmar [Fri, 11 Mar 2005 12:54:08 +0000 (12:54 +0000)]
[project @ 2005-03-11 12:54:08 by simonmar]
oops, forgot to clean runhaskell
simonpj [Fri, 11 Mar 2005 10:37:50 +0000 (10:37 +0000)]
[project @ 2005-03-11 10:37:50 by simonpj]
----------------------------------
Attend to fixity of '->' in types
----------------------------------
Merge to STABLE
Another wibble to the infix-type-constructor story. Actually
this has been a bug for some time: function type constructors
were not being re-associated, because they are not HsOpAppTys.
simonpj [Fri, 11 Mar 2005 10:36:35 +0000 (10:36 +0000)]
[project @ 2005-03-11 10:36:35 by simonpj]
----------------------------------
Fix a "class used as a type" crash
----------------------------------
Merge to STABLE
Thanks to Shae for finding this one. tcfail134 tests.
simonmar [Thu, 10 Mar 2005 23:27:37 +0000 (23:27 +0000)]
[project @ 2005-03-10 23:27:35 by simonmar]
Implement foreign import wrapper on x86_64
malcolm [Thu, 10 Mar 2005 17:58:43 +0000 (17:58 +0000)]
[project @ 2005-03-10 17:58:42 by malcolm]
Define __CYGWIN32__ for nhc98 build of hsc2hs.
simonmar [Thu, 10 Mar 2005 14:47:33 +0000 (14:47 +0000)]
[project @ 2005-03-10 14:47:33 by simonmar]
x86: For some reason the code for obscure_ccall_ret_code was allocated
dynamically and specified using literal bytes rather than inline
assembly. Change it to use inline assembly.
simonmar [Thu, 10 Mar 2005 14:17:27 +0000 (14:17 +0000)]
[project @ 2005-03-10 14:17:27 by simonmar]
Clean .hi-boot and .o-boot files when appropriate. The standard
cleaning doesn't work in ghc/compiler because of $(odir).
simonmar [Thu, 10 Mar 2005 14:03:28 +0000 (14:03 +0000)]
[project @ 2005-03-10 14:03:28 by simonmar]
Add x86_64 platforms
simonmar [Thu, 10 Mar 2005 13:39:42 +0000 (13:39 +0000)]
[project @ 2005-03-10 13:39:42 by simonmar]
Add runhaskell
simonpj [Thu, 10 Mar 2005 09:59:49 +0000 (09:59 +0000)]
[project @ 2005-03-10 09:59:49 by simonpj]
Reword documentation of retainer sets
simonpj [Thu, 10 Mar 2005 08:56:37 +0000 (08:56 +0000)]
[project @ 2005-03-10 08:56:35 by simonpj]
Wibbles to infix operators; please merge
simonpj [Wed, 9 Mar 2005 17:54:59 +0000 (17:54 +0000)]
[project @ 2005-03-09 17:54:59 by simonpj]
Fix indirection-shorting problem
simonpj [Wed, 9 Mar 2005 17:51:03 +0000 (17:51 +0000)]
[project @ 2005-03-09 17:51:03 by simonpj]
Comments
simonpj [Wed, 9 Mar 2005 17:47:09 +0000 (17:47 +0000)]
[project @ 2005-03-09 17:47:09 by simonpj]
Document infix type operators
simonpj [Wed, 9 Mar 2005 16:58:15 +0000 (16:58 +0000)]
[project @ 2005-03-09 16:58:15 by simonpj]
Add parser support for infix type-variable operators
simonpj [Wed, 9 Mar 2005 14:27:03 +0000 (14:27 +0000)]
[project @ 2005-03-09 14:26:56 by simonpj]
Fix the superclass translation for instance decls
Merge to STABLE
There is a long-standing difficulty whereby it's surprisingly easy
to accidentally generate an entirely-bogus recursive dictionary when
generating the definitions for the superclasses of an instance decl.
The problem arises because the default story is that whenever we
add a constraint to our pile of solved constraints, we automatically
add all its superclasses. But that is simply wrong when we are trying
to generate superclasses.
Solution: do no auto-superclass addition when solving the superclass
constraints of an instance declaration. I think should fix it once and
for all.
tcrun021, tcrun033 are test cases
tcrun033 showed up the bug; thanks to Simon Foster and Ralf Laemmel.
simonpj [Wed, 9 Mar 2005 10:56:09 +0000 (10:56 +0000)]
[project @ 2005-03-09 10:56:09 by simonpj]
Add missing provenance for mfix; pls merge
simonpj [Wed, 9 Mar 2005 10:54:57 +0000 (10:54 +0000)]
[project @ 2005-03-09 10:54:57 by simonpj]
Add notes about implicit parameters; pls merge
simonmar [Wed, 9 Mar 2005 10:38:17 +0000 (10:38 +0000)]
[project @ 2005-03-09 10:38:17 by simonmar]
Use a different magic number (0x1face64) for 64-bit interface files.
This will prevent us trying to read the dictionary out of a 32-bit
interface file on a 64-bit machine.
simonmar [Wed, 9 Mar 2005 10:36:38 +0000 (10:36 +0000)]
[project @ 2005-03-09 10:36:38 by simonmar]
revert previous change, it didn't work
wolfgang [Wed, 9 Mar 2005 08:51:43 +0000 (08:51 +0000)]
[project @ 2005-03-09 08:51:31 by wolfgang]
Retain all CAFs when dynamic Haskell libraries are used from GHCi.
The Linker usually replaces references to newCAF with references to newDynCAF,
but the system dynamic linker won't do that for us.
Also, the situation is slightly different - we never want CAFs from dylibs
to be reverted, because the dylibs might be used both by the interpreted
program and by GHCi itself.
So instead of just caf_list, there's now both caf_list and revertible_caf_list.
newDynCAF adds a CAF to revertible_caf_list, and newCAF either adds the CAF
to caf_list or to the mutable list, depending on whether we are in GHCi.
This hack is only active when Linker.c has loaded libHSbase_dyn.[so|dylib],
but for now, it applies to all CAFs, not just dynamically-linked ones.
If that is worth fixing, we could do that by checking whether the the CAF
closure or it's info pointer is in the main executable's address range.
MERGE TO STABLE
wolfgang [Wed, 9 Mar 2005 04:13:13 +0000 (04:13 +0000)]
[project @ 2005-03-09 04:13:13 by wolfgang]
Some minimalistic documentation for -fPIC and -dynamic.
MERGE TO STABLE
wolfgang [Tue, 8 Mar 2005 20:33:21 +0000 (20:33 +0000)]
[project @ 2005-03-08 20:33:21 by wolfgang]
Mac OS X: fix_install_name when installing libexecs
MERGE TO STABLE
sof [Tue, 8 Mar 2005 19:14:09 +0000 (19:14 +0000)]
[project @ 2005-03-08 19:14:09 by sof]
give 'runhaskell' the 'exeext' treatment too
sof [Tue, 8 Mar 2005 19:13:27 +0000 (19:13 +0000)]
[project @ 2005-03-08 19:13:27 by sof]
explicitly use 'exeext' to avoid cygwin 'cp' weirdity
simonmar [Tue, 8 Mar 2005 17:19:28 +0000 (17:19 +0000)]
[project @ 2005-03-08 17:19:28 by simonmar]
decode OccNames in dumpStyle too
simonmar [Tue, 8 Mar 2005 17:12:54 +0000 (17:12 +0000)]
[project @ 2005-03-08 17:12:51 by simonmar]
Fix something that's been bugging me for a while: by default, -ddump-*
output doesn't include uniques when it outputs internal names, but in
most cases you need them because the output hasn't been tidied, so you
end up doing -dppr-debug which is overkill.
Now, -ddump-* prints uniques for internal names by default. This
shouldn't affect anything else.
simonmar [Tue, 8 Mar 2005 15:33:35 +0000 (15:33 +0000)]
[project @ 2005-03-08 15:33:35 by simonmar]
Install runghc too
simonmar [Tue, 8 Mar 2005 13:35:35 +0000 (13:35 +0000)]
[project @ 2005-03-08 13:35:35 by simonmar]
Fix what looks like a typo in the previous commit
simonmar [Tue, 8 Mar 2005 13:32:06 +0000 (13:32 +0000)]
[project @ 2005-03-08 13:32:06 by simonmar]
HACK HACK HACK on x86_64
we need 16-byte aligned constants on this platform sometimes. Don't
just 16-byte align everything, but try to detect 16-byte constants and
align just those.
All the codegen tests now go through on registerised x86_64, I'm
building a stage2 GHC now.
simonmar [Tue, 8 Mar 2005 11:57:57 +0000 (11:57 +0000)]
[project @ 2005-03-08 11:57:57 by simonmar]
Add runhaskell as an optional binary
simonmar [Tue, 8 Mar 2005 11:56:57 +0000 (11:56 +0000)]
[project @ 2005-03-08 11:56:55 by simonmar]
Allow for optional binary installation
simonmar [Tue, 8 Mar 2005 11:50:42 +0000 (11:50 +0000)]
[project @ 2005-03-08 11:50:42 by simonmar]
Build & install runhaskell, but only install it if there isn't already
a $(bindir)/runhaskell.
simonmar [Tue, 8 Mar 2005 11:04:11 +0000 (11:04 +0000)]
[project @ 2005-03-08 11:04:11 by simonmar]
x86_64: the assembler doesn't like generating 8-byte relative
relocations between text and rodata symbols. Hack around this by
putting SRTs in the text segment for now.
simonpj [Tue, 8 Mar 2005 10:14:34 +0000 (10:14 +0000)]
[project @ 2005-03-08 10:14:32 by simonpj]
Avoid losing location info for ghci; please merge
simonpj [Tue, 8 Mar 2005 09:47:43 +0000 (09:47 +0000)]
[project @ 2005-03-08 09:47:35 by simonpj]
Print full instances in ghci; merge
simonpj [Tue, 8 Mar 2005 09:47:01 +0000 (09:47 +0000)]
[project @ 2005-03-08 09:47:01 by simonpj]
Comments
simonpj [Tue, 8 Mar 2005 09:45:45 +0000 (09:45 +0000)]
[project @ 2005-03-08 09:45:45 by simonpj]
Better printing of types; merge please
simonmar [Tue, 8 Mar 2005 09:01:20 +0000 (09:01 +0000)]
[project @ 2005-03-08 09:01:20 by simonmar]
Update comment
simonmar [Tue, 8 Mar 2005 08:59:58 +0000 (08:59 +0000)]
[project @ 2005-03-08 08:59:58 by simonmar]
x86_64: Add __DISCARD__() function call to the tailcall sequence to
work around bugs in gcc (see comment for details).