- 08 Mar, 2005 19 commits
-
-
sof authored
explicitly use 'exeext' to avoid cygwin 'cp' weirdity
-
simonmar authored
decode OccNames in dumpStyle too
-
simonmar authored
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 authored
Install runghc too
-
simonmar authored
Fix what looks like a typo in the previous commit
-
simonmar authored
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 authored
Add runhaskell as an optional binary
-
simonmar authored
Allow for optional binary installation
-
simonmar authored
Build & install runhaskell, but only install it if there isn't already a $(bindir)/runhaskell.
-
simonmar authored
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 authored
Avoid losing location info for ghci; please merge
-
simonpj authored
Print full instances in ghci; merge
-
simonpj authored
Comments
-
simonpj authored
Better printing of types; merge please
-
simonmar authored
Update comment
-
simonmar authored
x86_64: Add __DISCARD__() function call to the tailcall sequence to work around bugs in gcc (see comment for details).
-
simonpj authored
Add notes about newtype deriving
-
wolfgang authored
Mac OS X: Kill HaskellSupport.framework. Instead, look for GMP.framework (a framework-version of libgmp), else look for a normal -lgmp as usual. The other part of HaskellSupport.framework, dlcompat, is no longer needed (as of Mac OS X 10.3, it's included in libSystem). It's enough to just use the normal configure tests for -ldl. MERGE TO STABLE
-
wolfgang authored
Mach-O Linker: eradicate some warnings MERGE TO STABLE
-
- 07 Mar, 2005 9 commits
-
-
simonpj authored
----------------------------------------- Make sure that LiberateCase only binds Internal Names ----------------------------------------- Merge to STABLE The nested bindings generated by LiberateCase should be Internal as well as not-exported. Otherwise an External Name can float to top level, where it might name-clash with another one.
-
simonpj authored
----------------------------------------- Fix a long-standing indirection-zapping bug ----------------------------------------- Merge to STABLE Up to now we zap indirections as part of the occurence analyser. But this is bogus. The indirection zapper does the following: x_local = <expression> ...bindings... x_exported = x_local where x_exported is exported, and x_local is not, then we replace it with this: x_exported = <expression> x_local = x_exported ...bindings... But this is plain wrong if x_exported has a RULE that mentions something (f, say) in ...bindings.., because 'f' will then die. After hacking a few solutions, I've eventually simply made the indirection zapping into a separate pass (which is cleaner anyway), which wraps the entire program back into a single Rec if the bad thing can happen. On the way I've made indirection-zapping work in Recs too, which wasn't the case before. * Move the zapper from OccurAnal into SimplCore * Tidy up the printing of pragmas (PprCore and friends) * Add a new function Rules.addRules * Merge rules in the indirection zapper (previously one set was discarded)
-
simonmar authored
Include WORD_SIZE_IN_BITS in the interface header, and test it when reading. Fixes a problem whereby GHC on a 64-bit platform will crash if it tries to read an interface file generated by the same version of GHC on a 32-bit platform.
-
simonpj authored
----------------------------------------- Fix scoping bug for quantified type variables ----------------------------------------- Merge to STABLE When instantiating a declaration type signature, make sure to instantiate fresh names for non-scoped type variables, else they may be spuriously shared. Turns out that the test lib/Generics/reify tests this, which is good. Comments are with TcMType.tcInstSigType
-
simonmar authored
Try once more to get this #include right, and add a comment
-
simonmar authored
ghc_boot_platform.h is the right way to get hold of the platform defines inside the compiler.
-
simonmar authored
Mention not to use comments on the same line as OPTIONS_GHC
-
simonmar authored
Fix validate bug
-
simonmar authored
Add missing hs_* symbols
-
- 05 Mar, 2005 4 commits
-
-
panne authored
Nuked dead code. Now the RTS is free of warnings, except for failed inlinings of thread_obj, processHeapClosureForDead, pop, and push. Should we remove their "inline" modifier?
-
panne authored
Clean up Version.hs for distclean target
-
panne authored
Warning police
-
chak authored
Extended the commentary with a section about the STG-related parts of GHC (generation of STG from Core, STG passes, and generation of Cmm). [BTW, it's a pity that nobody bothered to write up the new code generation structure when it was implemented not long ago.]
-
- 04 Mar, 2005 8 commits
-
-
sof authored
Since MachDeps.h doesn't include ghcconfig.h, include it specifically here (for the benefit of mingw). That may not be the right file to use in the grander scheme of things tho. Merge to STABLE (or something equivalent; as-is STABLE doesn't build on mingw.)
-
sof authored
Temper 'libm' testing -- if 'atan' is available straight from libc, no need to include libm. Merge to STABLE
-
simonmar authored
Build all the libraries
-
simonmar authored
Fix a couple of things, should help this script get further
-
simonmar authored
some more wibbles in cross-compiling
-
simonmar authored
We shouldn't be including ghcconfig.h here
-
simonmar authored
include ghcautoconf.h rather than ghcconfig.h, the reason being that this file is included form the compiler, and we don't want the platform defines from ghcplatform.h.
-
simonmar authored
Clean .hi-boot and .o-boot created from .hs-boot/.lhs-boot
-