summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix the name of an SCCSimon Marlow2012-08-311-1/+1
|
* debug printing of the CAFEnvSimon Marlow2012-08-311-0/+1
|
* small improvements to findPtr() and the closure printerSimon Marlow2012-08-311-1/+12
|
* Fix a bug in foldExpDeepSimon Marlow2012-08-311-8/+1
| | | | | This caused the CAF analysis to occasionally miss a CAF sometimes, resulting in a very hard to diagnose crash.
* disable -fregs-graph (#7192)Simon Marlow2012-08-311-1/+2
|
* enable -fnew-codegen by defaultSimon Marlow2012-08-311-2/+0
|
* Cleanup: add mkIntExpr and zeroExpr utilsSimon Marlow2012-08-3115-66/+72
|
* Fix fencepost and byte/word bugs in cloneArray/copyArray (#7185)Simon Marlow2012-08-313-28/+46
|
* make sure to remove the right link before calling 'ln -s' (could we use 'ln ↵Gabor Greif2012-08-302-4/+4
| | | | -sf'?)
* v7.4.1 is required for building, so we can drop the v7.2.1 workaroundGabor Greif2012-08-291-10/+0
|
* Fail earlier if there's an error in a type declarationSimon Peyton Jones2012-08-291-3/+4
| | | | | | | | | | | This change means that we don't recover from erroneous type declarations, thereby reporting fewer errors. But trying to recover confused GHC (leading to a pattern match failure in the compiler Trac #7175), and it turned out to be tricky to fix that. So this patch takes the more conservative path of failing earlier, perhaps reporting fewer real errors.
* Fix Trac #7196 by adding a case to the desugarerSimon Peyton Jones2012-08-292-15/+17
| | | | Pls merge to 7.6
* Merge branch 'master' of http://darcs.haskell.org/ghcSimon Peyton Jones2012-08-2936-1826/+1529
|\
| * Remove CPP from coreSyn/CoreUtils.lhsIan Lynagh2012-08-293-18/+26
| |
| * Add DynFlags to the CorePrepEnvIan Lynagh2012-08-291-14/+21
| |
| * Remove CPP from cmm/CmmParse.yIan Lynagh2012-08-281-6/+8
| |
| * Whitespace only in cmm/CmmParse.yIan Lynagh2012-08-281-541/+541
| |
| * Remove some CPP from nativeGen/X86/Instr.hsIan Lynagh2012-08-281-5/+4
| |
| * Remove some CPP from compiler/ghci/Linker.lhsIan Lynagh2012-08-282-23/+23
| |
| * Remove Util.{isDarwinTarget,isWindowsTarget}Ian Lynagh2012-08-282-38/+41
| |
| * Remove some CPP from llvmGen/LlvmCodeGen/Ppr.hsIan Lynagh2012-08-281-35/+24
| | | | | | | | | | | | I changed the behaviour slightly, e.g. i386/FreeBSD will no longer fall through and use the Linux "i386-pc-linux-gnu", but will get the final empty case instead. I assume that that's the right thing to do.
| * Remove some CPP from nativeGen/PPC/Regs.hIan Lynagh2012-08-283-27/+16
| |
| * Remove some old commented-out codeIan Lynagh2012-08-281-128/+0
| |
| * Move more code into codeGen/CodeGen/Platform.hsIan Lynagh2012-08-2828-991/+825
| | | | | | | | | | | | | | | | HaskellMachRegs.h is no longer included in anything under compiler/ Also, includes/CodeGen.Platform.hs now includes "stg/MachRegs.h" rather than <stg/MachRegs.h> which means that we always get the file from the tree, rather than from the bootstrapping compiler.
* | Merge branch 'master' of darcs.haskell.org:/home/darcs/ghcSimon Peyton Jones2012-08-2874-1550/+1801
|\ \ | |/
| * generalise the type of eqStableName#Simon Marlow2012-08-281-1/+1
| | | | | | | | | | | | Now the StableName#s don't need to have the same type parameters: eqStableName# :: StableName# a -> StableName# b -> Int#
| * Fix -fPIC with the new code generatorSimon Marlow2012-08-284-7/+7
| | | | | | | | The CmmBlocks inside CmmExprs were not getting the PIC treatment
| * Fix callerSaves, activeStgRegs, haveRegBase when unregisterisedSimon Marlow2012-08-281-0/+6
| |
| * Fix return type of FUN_INFO_PTR_TO_STRUCT.Erik de Castro Lopo2012-08-281-1/+1
| | | | | | | | Return type was correct when TABLES_NEXT_TO_CODE was defined.
| * Update documentation for -fwarn-dodgy-imports.Paolo Capriotti2012-08-251-4/+13
| |
| * Make badImportItem into a warning (#7167)Paolo Capriotti2012-08-251-75/+116
| | | | | | | | | | Also fix a bug where a dodgy import warning was emitted for data families with a single constructor.
| * More CPP macros -> inline functionsIan Lynagh2012-08-254-18/+22
| | | | | | | | | | | | | | | | All the wibble seem to have cancelled out, and (non-debug) object sizes are back to where they started. I'm not 100% sure that the types are optimal, but at least now the functions have types and we can fix them if necessary.
| * More CPP macros -> inline functionsIan Lynagh2012-08-251-17/+15
| |
| * More CPP macro -> inline functionIan Lynagh2012-08-251-2/+4
| |
| * Convert a couple more macros to inline functionsIan Lynagh2012-08-251-2/+7
| | | | | | | | | | | | | | | | | | | | This caused a couple of .o files to change size. I had a look at one, and it seems to be caused by the difference in size of these two instructions: 49 8b 5d 08 mov 0x8(%r13),%rbx 49 8b 5c 24 08 mov 0x8(%r12),%rbx (with a few nops being added or removed later in the file, presumably for alignment reasons).
| * Make a function for get_itbl, rather than using a CPP macroIan Lynagh2012-08-255-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | This has several advantages: * It can be called from gdb * There is more type information for the user, and type checking for the compiler * Less opportunity for things to go wrong, e.g. due to missing parentheses or repeated execution The sizes of the non-debug .o files hasn't changed (other than Inlines.o), so I'm pretty sure the compiled code is identical.
| * Fix build with FreeBSD versions earlier than 9.0Gabor Pali2012-08-231-1/+5
| |
| * Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-08-2315-113/+248
| |\
| | * Merge branch 'master' of http://darcs.haskell.org/ghcSimon Peyton Jones2012-08-235-58/+68
| | |\
| | | * Fix for optimizer bug on linux-powerpc (#6156).Erik de Castro Lopo2012-08-231-4/+4
| | | |
| | * | Don't specialise on implicit-parameter arguments in SpecaliseSimon Peyton Jones2012-08-231-4/+8
| | | | | | | | | | | | | | | | This is a fix for Trac #7101
| | * | Two small fixes to SpecConstr for functions with equality-proof argsSimon Peyton Jones2012-08-232-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | First, make Rules.match_co able to deal wit some modest coercions Second, make SpecConstr use wild-card for coercion arguments This is the rest of the fix for Trac #7165
| | * | Fix to-iface conversion of RULES involving coercions in argument pattternsSimon Peyton Jones2012-08-231-4/+3
| | | | | | | | | | | | | | | | This is part of the fix to Trac #7165
| | * | Merge ../HEADSimon Peyton Jones2012-08-2310-96/+225
| | |\ \
| * | | | Follow changes in CabalIan Lynagh2012-08-232-1/+3
| | |_|/ | |/| |
| * | | Emit a warning for -rtsopts -shared, as well as -rtsopts -no-hs-mainSimon Marlow2012-08-231-7/+13
| | | | | | | | | | | | | | | | | | | | -rtsopts has no effect with -shared, so we should emit a warning. See #5373 and #7177.
| * | | Fix :issafe command (#7172).David Terei2012-08-233-35/+41
| | | |
| * | | Improve Safe Haskell warn/error output.David Terei2012-08-232-12/+10
| |/ /
| * | More CPP removal in nativeGen/X86/Regs.hsIan Lynagh2012-08-222-12/+10
| | |
| * | More CPP removal in nativeGen/X86/Regs.hsIan Lynagh2012-08-221-15/+10
| | |