- Nov 30, 2015
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
- Nov 25, 2015
-
-
Luke Iannini authored
This is a workaround for the regression documented in #10726 comments 31 and after. We'll hopefully have a better fix for master.
-
Ben Gamari authored
-
- Nov 18, 2015
-
-
Ben Gamari authored
-
- Nov 14, 2015
-
-
The following source snippet 'module A where x */* y = 42' when being compiled with '-g' option emits syntactically invalid comment for GNU as: .text .align 8 .loc 1 3 1 /* */* */ Fixed by not emitting comments at all. We already suppress all asm comments in 'X86/Ppr.hs'. Signed-off-by: Sergei Trofimovich <siarheit@google.com> Test Plan: added test and check it works Reviewers: scpmw, simonmar, austin, bgamari Reviewed By: simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1386 GHC Trac Issues: #10667
-
- Nov 12, 2015
-
-
Foreign calls may not be strict for lifted arguments. Fixes Trac #11076. Test Plan: ./validate Reviewers: simonpj, bgamari, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1464 GHC Trac Issues: #11076
-
- Nov 11, 2015
-
-
Arithmetic shift right of more than 31 bits yields zero for positive Int and -1 for negative Int. On PowerPC immediates greater than 31 are not allowed, so replace with a shift by 31 bits which gives the correct result. Fixes #10870
-
- Nov 08, 2015
-
-
in contrast to "e (f x)", where CorePrep will turn it into "let y = f x in e x". So in let f = ... in e (f x) we know that f is called at most once, but in let f = ... in e f we do not know that. Previously Call Arity would assume that in "e x", "x" is evaluated at most once. This rarely would make a difference (the argument "x" is analized with an incoming arity of 0, so no eta-expansion would be done anyways), but of course this should still be fixed. This fixes #11064. Note the corresponding code dmdTransformThunkDmd in DmdAnal.
-
- Nov 05, 2015
-
-
Tested on darwin and linux. Not tested on mingw32.
-
- Nov 04, 2015
-
-
Ben Gamari authored
-
- Nov 02, 2015
-
-
Ben Gamari authored
This was taken from 5200bdeb on master.
-
- Oct 30, 2015
-
-
Ben Gamari authored
This prevents warnings from the bootstrap compiler from killing validation
-
- Oct 27, 2015
-
-
Simon Peyton Jones authored
Fixes Trac #10997 Merge to stable branch
-
Ben Gamari authored
-
Ben Gamari authored
This provides an easy way for users and packages to grab the tarballs necessary to generate a complete source tarball.
-
- Oct 26, 2015
-
-
Ben Gamari authored
-
Ben Gamari authored
Keep at 7.10.2 for release candidate
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
- Add `-pgmreadelf` option - Auto configure path and name of "readelf" - Add settings `readelf command` - During build of GHC name of tool can be changed with `./configure --with-readelf=myreadelf` Test Plan: ``` make -C testsuite/tests/driver/recomp011 ``` Reviewers: austin, bgamari Subscribers: erikd, thomie Differential Revision: https://phabricator.haskell.org/D1335 GHC Trac Issues: #10974
-
Ben Gamari authored
-
-
Ben Gamari authored
-
Ben Gamari authored
Otherwise we get a C-- lint error due to mismatched RHS and variable types.
-
- Oct 22, 2015
-
-
-
Ben Gamari authored
Some day I'll learn to validate before pushing.
-
Previous suggestion would clear executable bit, meaning directory couldn't be entered. Fixes #11003. Test Plan: Read message. Reviewers: austin, thomie, dfeuer Reviewed By: thomie, dfeuer Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1350 GHC Trac Issues: #11003
-
Simon Peyton Jones authored
-
Previously, foldr1 would be defiend recursively and thus not inline. This is bad, for example, when maximumBy has a strict comparison function: Before the BBP, it was implemented via foldl1, which inlined and yielded good code. With BBP, it goes via foldr1, so we better inline this as well. Fixes #10830. Differential Revision: https://phabricator.haskell.org/D1205
-
-
Make Linker.hs try asking gcc for lib%s.dll as well, also changed tryGcc to pass -L to all components by using -B instead. These two fix shortnames linking on windows. re-enabled tests: ghcilink003, ghcilink006 and T3333 Added two tests: load_short_name and enabled T1407 on windows. Reviewed By: thomie, bgamari Differential Revision: https://phabricator.haskell.org/D1310 GHC Trac Issues: #9878, #1407, #1883, #5289
-
For example ``` pattern head `Cons` tail = head : tail ``` Reviewed By: goldfire, austin Differential Revision: https://phabricator.haskell.org/D1295 GHC Trac Issues: #10747
-
The implementation of `mask` and `uninterruptibleMask` assumed so far that the restore argument would be called in a context with the same masking state as that set by `mask` or `uninterruptibleMask`. This patch has the restore argument restore the masking, whatever the current masking state is. Test Plan: validate Reviewers: simonmar, hvr, austin, bgamari Reviewed By: bgamari Subscribers: thomie, qnikst Differential Revision: https://phabricator.haskell.org/D1327 GHC Trac Issues: #10149
-
Among doing other things, Phab:D201 (bc2289e1) tried to improve the error messages thrown by the parser. For example a missing else clause now prints "parse error in if statement: else clause empty" instead of "parse error (possibly incorrect indentation or mismatched brackets)". Some error messages got much worse however (see tests), and the result seems to be a net negative. Although not entirely satisfactory, this commits therefore reverts those parser changes. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D1309 GHC Trac Issues: #10498
-
Backported from: commit 4bd58c17 Author: Erik de Castro Lopo <erikd@mega-nerd.com> Date: Sun Sep 13 18:57:40 2015 +1000 PPC: Fix right shift by 32 bits #10870 The patch in HEAD didn't apply cleanly because of the powerpc64el work that has been done in HEAD.
-