- 02 Jul, 2000 3 commits
-
-
panne authored
Removed -noC flag, which has vanished from the driver
-
panne authored
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 authored
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.
-
- 30 Jun, 2000 9 commits
-
-
panne authored
Hackily quote -#include options before passing them to mkdependHS
-
panne authored
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 authored
- fix copyrights - remove some unused imports - comment formatting fixes
-
simonpj authored
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 authored
Improve error message
-
simonmar authored
wibble
-
simonmar authored
Use GhcMinVersion to pick the correct cmdline args to build the driver.
-
simonmar authored
Check the version of the installed ghc, and set GhcVersion, GhcMajVersion, GhcMinVersion and GhcPatchLevel make variables.
-
simonmar authored
_Haskell1Version ==> cHaskell1Version
-
- 29 Jun, 2000 9 commits
-
-
panne authored
Added test for Typeable instance
-
panne authored
Fixed buglet in search for ghc-usage.txt
-
panne authored
There is not much point in memoising Integers, so we should better use unary "numbers" (i.e. lists of units) instead
-
sewardj authored
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 authored
Add missing implicit occs relating to list comprehensions in deriving (Ix,Read).
-
simonmar authored
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 authored
sparc needs the TMOVEDIRVS hack too
-
simonmar authored
hi files are now named after the module being compiled, not the original filename (unless of course the user has specified -ohi <blah>).
-
rrt authored
Remove /bin/ from /bin/rm to avoid problems with systems where it's elsewhere.
-
- 28 Jun, 2000 12 commits
-
-
lewie authored
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 authored
This file had version 407 burned into it; the convention is that zero means "don't check the version".
-
lewie authored
Bumped VERSION's version as well.
-
simonmar authored
ignore lines beginning with '#' when looking for {-# OPTIONS #-}
-
lewie authored
Wave goodbye to hscpp even harder. (erase it from SUBDIR list).
-
simonmar authored
add in the -optl arguments to the linker command line
-
simonmar authored
dumps go to stdout
-
simonmar authored
dumps go to stdout now
-
simonmar authored
Wave goodbye to hscpp, GHC's lexer now understands the '# \d+ \".*\"' output from cpp.
-
simonmar authored
version of ghc-current is now 4.09
-
simonmar authored
add missing default case for Eq (TyClDecl name pat)
-
sewardj authored
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.
-
- 27 Jun, 2000 6 commits
-
-
lewie authored
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 authored
Cleaned out a handful of unused imports.
-
rrt authored
Some initial notes on DLLs. plsmrg
-
rrt authored
Replace documentation for dll_Ifs.hi with a note about using -package-name. Please merge.
-
sewardj authored
Fix compilation problems with int64 and nat64.
-
lewie authored
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.
-
- 26 Jun, 2000 1 commit
-
-
simonpj authored
Add test for filterFB
-