summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Checkpointing some makefile simplifications that I attempted.cross-compiler-alienlessGabor Greif2012-09-131-33/+11
| | | | | | | | | This is not in a working state yet, as we are trying to build something that goes into the build/ dir but it is not yet created. Not sure how to add dependency tracking properly. Btw., Ian is working in this area on the master branch so there will be a bunch of conflicts anyway :-(
* make sure that the C compiler is noted in the cross-ghc's wrapperGabor Greif2012-08-311-0/+3
|
* cross compiler is placed in stage1, no need for this wrapper nameGabor Greif2012-08-311-1/+0
|
* employ make variable BuildingCrossCompiler in all relevant placesGabor Greif2012-08-318-38/+14
|
* Merge branch 'master' of https://github.com/ghc/ghc into ↵Gabor Greif2012-08-302-4/+4
|\ | | | | | | cross-compiler-alienless
| * make sure to remove the right link before calling 'ln -s' (could we use 'ln ↵Gabor Greif2012-08-302-4/+4
| | | | | | | | -sf'?)
* | Merge branch 'master' of https://github.com/ghc/ghc into ↵Gabor Greif2012-08-3046-1871/+1586
|\ \ | |/ | | | | cross-compiler-alienless
| * 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.
| * | Fix pretty-printing for GADTs in infix formSimon Peyton Jones2012-08-281-2/+3
| | |
| * | Comments in CoreSyn onlySimon Peyton Jones2012-08-281-0/+8
| | |
| * | Fix Trac #7092, involving Template Hsakell and name shadowingSimon Peyton Jones2012-08-281-6/+10
| | | | | | | | | | | | | | | All the mechanism was there, but it wasn't being use for the name-shadowing test.
* | | do not query GHC for the <C compiler> when a cross-compiler is being builtGabor Greif2012-08-291-2/+3
| | |
* | | do not build extras for cross-ghc (yet)Gabor Greif2012-08-291-0/+2
| | |
* | | Merge branch 'master' of https://github.com/ghc/ghc into ↵Gabor Greif2012-08-27177-4127/+5510
|\ \ \ | | |/ | |/| | | | cross-compiler-alienless
| * | 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
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Don't assume that coercion variables have (~) typesSimon Peyton Jones2012-08-231-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The constraint solver doesn't zonk the types of coercion variables so we can't assume that a coercion variable will have a (~) type. Fixes Trac #7090.
| | | * | Minor refactoringSimon Peyton Jones2012-08-231-7/+5
| | | | |