summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix sdist creationIan Lynagh2011-11-241-1/+1
|
* Fix markup (non-validate-breaking)Simon Marlow2011-11-241-4/+4
|
* Relax the restriction on using abstract newtypes in FFI declarations.Simon Marlow2011-11-241-5/+17
| | | | | | | | | | | | | | Given the high impact of this change, we decided to back off and make abstract newtypes give a warning for one release, before we make it an error in 7.6.1. Codec/Compression/Zlib/Stream.hsc:884:1: Warning: newtype `CInt' is used in an FFI declaration, but its constructor is not in scope. This will become an error in GHC 7.6.1. When checking declaration: foreign import ccall unsafe "static zlib.h deflate" c_deflate :: StreamState -> CInt -> IO CInt
* Fix the filename passed to unlit (see comment for details)Simon Marlow2011-11-241-3/+14
|
* copyFileWithHeader: write the header in UTF-8Simon Marlow2011-11-241-1/+13
|
* Fix userguide markupIan Lynagh2011-11-241-1/+1
|
* Replace a couple of "rm -rf" invocations with $(call removeTrees,...)Ian Lynagh2011-11-241-2/+2
|
* Support "phase control" for SPECIALISE pragmasSimon Peyton Jones2011-11-244-8/+106
| | | | | | | | | | | | | This featurelet allows Trac #5237 to be fixed. The idea is to allow SPECIALISE pragmas to specify the phases in which the RULE is active, just as you can do with RULES themselves. {-# SPECIALISE [1] foo :: Int -> Int #-} This feature is so obvious that not having it is really a bug. There are, needless to say, a few wrinkles. See Note [Activation pragmas for SPECIALISE] in DsBinds
* Merge branch 'master' of http://darcs.haskell.org/ghcSimon Peyton Jones2011-11-242-19/+17
|\ | | | | | | | | Conflicts: compiler/ghci/ByteCodeItbls.lhs
| * Fix bug in flushStdHandles()Simon Marlow2011-11-241-1/+1
| | | | | | | | Was causing occasional failure in some threaded2 tests.
| * fix warnings (validate was failing on i386)Simon Marlow2011-11-241-3/+7
| |
* | Merge branch 'master' of http://darcs.haskell.org/ghcSimon Peyton Jones2011-11-243-11/+27
|\ \ | |/
| * Remove unused cRelocatableBuildSimon Marlow2011-11-231-6/+0
| |
| * Decode escape sequences properly in line pragmas (see comment for details).Simon Marlow2011-11-231-1/+13
| |
| * Checking UsageFile: don't fail if the file doesn't exist, just recompileSimon Marlow2011-11-231-4/+14
| | | | | | | | | | | | | | | | If a file we depended on last time is missing, we should recompile. This also makes us insensitive to mistakes when recording dependent source files (such as storing a temporary file), but will make more recompilation happen instead. With DEBUG on, you get a warning.
* | Fix build on WindowsSimon Peyton Jones2011-11-231-13/+18
| |
* | Use mkAppTys, not foldl AppTy, which was utterly wrongSimon Peyton Jones2011-11-231-14/+15
|/ | | | This bug caused Trac #5655
* Keep the flag lists as IntSets rather than listsSimon Marlow2011-11-232-23/+25
| | | | This improves compile times slightly.
* Fix and clean up 'PData' and 'Wrap' usage of the vectoriserManuel M T Chakravarty2011-11-238-572/+213
|
* Don't warn about not vectorised type synonymsManuel M T Chakravarty2011-11-231-4/+5
|
* Fix compilation error in unreg modeDavid Terei2011-11-221-1/+1
|
* Add '-dno-llvm-mangler' flag for debugging purposesDavid Terei2011-11-222-2/+10
|
* Clean up LLVM Mangler.David Terei2011-11-221-48/+14
|
* Show LLVM mangler and code gen passes at v2David Terei2011-11-223-3/+7
|
* Formatting fix.David Terei2011-11-221-1/+1
|
* Merge branch 'master' of http://darcs.haskell.org/ghcIan Lynagh2011-11-225-227/+277
|\
| * Tabs -> SpacesDavid Terei2011-11-221-184/+178
| |
| * Formatting fixDavid Terei2011-11-221-2/+4
| |
| * Explicitly handle unsupported Cmm prim ops.David Terei2011-11-223-7/+13
| |
| * Formatting fixesDavid Terei2011-11-221-16/+16
| |
| * Specify unsupported ops, don't just use a catch allDavid Terei2011-11-222-27/+75
| | | | | | | | | | | | | | | | Better to specifically list the unsupported cases in code than to have a catch all that panics. The later method hides problems when new constructors are added such as the recent additions to the supported Cmm prim ops that weren't ported to the C backend since no one noticed.
* | Fix comments.Michal Terepeta2011-11-221-3/+3
| |
* | Drop ".exe" exetention from eventlog file nameDuncan Coutts2011-11-221-3/+18
|/ | | | Fixes ticket #5472
* Remove registerised code for dead architectures: mips, ia64, alpha,David Terei2011-11-2211-1032/+5
| | | | hppa1, m68k
* Fix missing primop in PprCDavid Terei2011-11-221-2/+3
|
* Formatting of PprCDavid Terei2011-11-221-42/+41
|
* Tabs -> SpacesDavid Terei2011-11-222-67/+67
|
* Tabs -> SpacesDavid Terei2011-11-221-144/+144
|
* Tabs -> SpacesDavid Terei2011-11-221-175/+168
|
* Remove some old comments about the manglerDavid Terei2011-11-223-12/+0
|
* Fix warnings in ByteCodeItblsDavid Terei2011-11-221-56/+50
|
* Tabs -> Spaces + cleaningDavid Terei2011-11-223-35/+5
|
* Enable '-split-objs' with llvm backendDavid Terei2011-11-221-3/+4
|
* Better document the driver pipeline.David Terei2011-11-222-60/+63
|
* Tweaks to safe haskell documentation.David Terei2011-11-221-64/+105
|
* uType_defer: only call mkErrInfo if -ddump-tc-trace is on (#5631)Simon Marlow2011-11-221-4/+9
| | | | | | | | Profiling shows we're wasting a lot of time calling mkErrInfo and tidying the context, work that is wasted if we're not tracing. There is more to this compilation performance regression than this, but this is one bug.
* mergeSimon Marlow2011-11-229-7/+66
|\
| * Add autoconf support to detect an LLVM-based C compilerDavid M Peixotto2011-10-074-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support to the autoconf scripts to detect when we are using a C compiler that uses an LLVM back end. An LLVM back end does not support all of the extensions use by GCC, so we need to perform some conditional compilation in the runtime, particularly for handling thread local storage and global register variables. The changes here will set the CC_LLVM_BACKEND in the autoconf scripts if we detect an llvm-based compiler. We use this variable to define the llvm_CC_FLAVOR variable that we can use in the runtime code to conditionally compile for LLVM.
| * Enable pthread_getspecific() tls for LLVM compilerDavid M Peixotto2011-10-076-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | LLVM does not support the __thread attribute for thread local storage and may generate incorrect code for global register variables. We want to allow building the runtime with LLVM-based compilers such as llvm-gcc and clang, particularly for MacOS. This patch changes the gct variable used by the garbage collector to use pthread_getspecific() for thread local storage when an llvm based compiler is used to build the runtime.
* | fix warningSimon Marlow2011-11-221-1/+1
| |