Re: [GHC] #5659: hsc2hs should add explicit type annotations to peeks and pokes
#5659: hsc2hs should add explicit type annotations to peeks and pokes --+- Reporter: ezyang | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: hsc2hs |Version: 7.0.2 Resolution: wontfix | Keywords: Testcase: | Blockedby: Difficulty: | Os: Unknown/Multiple Blocking: | Architecture: Unknown/Multiple Failure: GHC accepts invalid program | --+- Comment(by ezyang): Keegan and I had a brief discussion about this, and we think that one fundamental issue here is that Int really shouldn't be in Storable, in the sense that it doesn't have reasonable portability semantics (even on the same machine) for C code. So you could instead have {{{ class Storable a where ... -- as now class (Storable a) = CStorable a -- no body }}} where CStorable instances are proofs that the type corresponds directly to a specific C type. This won't save you if you mix up your types too much, but avoids Int/CInt heartache. Perhaps we could also permit people to more easily explicitly specify the type of peeks and pokes, maybe as an extra optional arg (you can do it by hand but it's kind of annoying in do-notation). -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5659#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #5631: Compilation slowdown from 7.0.x to 7.2.x
#5631: Compilation slowdown from 7.0.x to 7.2.x -+-- Reporter: bjpop |Owner: simonpj Type: bug | Status: new Priority: highest |Milestone: 7.4.1 Component: Compiler | Version: 7.2.1 Keywords:| Testcase: Blockedby:| Difficulty: Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: Compile-time performance bug -+-- Comment(by dimitris): I've done a lot of modifications to remove various bottlenecks in our new design and just brought the time for this down to 1.8 secs again. I've got a big patch pending along with several more performance benchmarks for the testuite which I will push on Monday. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5631#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2606: Backspace, delete, etc. don't work in ghci in HEAD
#2606: Backspace, delete, etc. don't work in ghci in HEAD ---+ Reporter: tim |Owner: Type: bug | Status: new Priority: normal |Component: GHCi Version: 7.2.1 | Resolution: Keywords: | Testcase: Blockedby: | Difficulty: Unknown Os: Linux | Blocking: Architecture: x86_64 (amd64) | Failure: None/Unknown ---+ Changes (by Lemming): * status: closed = new * failure: = None/Unknown * version: 6.10.1 = 7.2.1 * resolution: invalid = Comment: Sorry, I am using GHC-6.12.3, GHC-7.0.4, GHC-7.2.1 and in all of these versions I cannot delete or move cursor left and right in a line fetched by getLine in GHCi. The above comments tell a lot of details, but what is the final fix? Is it intended behaviour that I cannot alter characters I entered to getLine? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2606#comment:19 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #3647: unify handling and error messages for -X vs. {-#LANGUAGE ...#-} pragmas/extensions
#3647: unify handling and error messages for -X vs. {-#LANGUAGE ...#-} pragmas/extensions +--- Reporter: eflister | Owner: igloo Type: feature request| Status: new Priority: normal | Milestone: 7.6.1 Component: Compiler (Parser) |Version: 6.10.4 Resolution: | Keywords: language pragma extensions error message warning Testcase: | Blockedby: Difficulty: | Os: Unknown/Multiple Blocking: | Architecture: Unknown/Multiple Failure: None/Unknown | +--- Changes (by igloo): * milestone: 7.4.1 = 7.6.1 Comment: punting -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/3647#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #5319: MacOS X + executeFile + -threaded = Operation not supported
#5319: MacOS X + executeFile + -threaded = Operation not supported -+-- Reporter: PHO |Owner: Type: bug | Status: infoneeded Priority: high |Milestone: 7.4.1 Component: libraries/unix| Version: 7.0.3 Keywords: thread, exec | Testcase: executeFile001 Blockedby:| Difficulty: Os: MacOS X | Blocking: Architecture: Unknown/Multiple | Failure: Incorrect result at runtime -+-- Comment(by arkx): Just another data point: I could not reproduce this either. Running on Lion. {{{ ~ $ ghci GHCi, version 7.2.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Prelude System.Posix.Process.executeFile /bin/sh False [] Nothing Loading package unix-2.5.0.0 ... linking ... done. sh-3.2$ exit ~ $ uname -v Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5319#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #5240: help GNU ld to use less memory when linking libraries compiled with -split-objs.
#5240: help GNU ld to use less memory when linking libraries compiled with -split- objs. -+-- Reporter: int-e |Owner: igloo Type: feature request | Status: new Priority: high |Milestone: 7.4.1 Component: Compiler | Version: 7.0.3 Keywords:| Testcase: Blockedby:| Difficulty: Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- Comment(by igloo@…): commit 3275b7bd2a803a3adc0b952b6fbfeb738fc15a74 {{{ Author: Ian Lynagh ig...@earth.li Date: Sun Nov 27 00:20:59 2011 + Pass --hash-size=31 --reduce-memory-overhead to ld; fixes trac #5240 These reduce the amount of memory that ld takes when linking. aclocal.m4 |9 +++-- rules/build-package-way.mk |2 +- 2 files changed, 8 insertions(+), 3 deletions(-) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5240#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #5473: sortBy is no longer a good consumer in GHC 7
#5473: sortBy is no longer a good consumer in GHC 7 -+-- Reporter: lpsmith |Owner: igloo Type: bug | Status: new Priority: normal|Milestone: 7.4.1 Component: Compiler | Version: 7.2.1 Keywords:| Testcase: Blockedby:| Difficulty: Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: Documentation bug -+-- Comment(by igloo@…): commit 124bad841018d17f36b1d9dd136fb30ce30a2c2d {{{ Author: Ian Lynagh ig...@earth.li Date: Sat Nov 26 21:43:42 2011 + Don't list sortBy as a good consumer; fixes trac #5473 docs/users_guide/glasgow_exts.xml |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5473#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #5240: help GNU ld to use less memory when linking libraries compiled with -split-objs.
#5240: help GNU ld to use less memory when linking libraries compiled with -split- objs. --+- Reporter: int-e| Owner: igloo Type: feature request | Status: closed Priority: high | Milestone: 7.4.1 Component: Compiler |Version: 7.0.3 Resolution: fixed| Keywords: Testcase: | Blockedby: Difficulty: | Os: Unknown/Multiple Blocking: | Architecture: Unknown/Multiple Failure: None/Unknown | --+- Changes (by igloo): * status: new = closed * resolution: = fixed Comment: Fixed. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5240#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #5473: sortBy is no longer a good consumer in GHC 7
#5473: sortBy is no longer a good consumer in GHC 7 +--- Reporter: lpsmith| Owner: igloo Type: bug| Status: closed Priority: normal | Milestone: 7.4.1 Component: Compiler |Version: 7.2.1 Resolution: fixed | Keywords: Testcase: | Blockedby: Difficulty: | Os: Unknown/Multiple Blocking: | Architecture: Unknown/Multiple Failure: Documentation bug | +--- Changes (by igloo): * status: new = closed * resolution: = fixed Comment: Fixed. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5473#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #5660: Remove out-of-date NOTE files
#5660: Remove out-of-date NOTE files -+-- Reporter: shelarcy | Owner: Type: task | Status: new Priority: normal| Component: Compiler Version: 7.3 |Keywords: Testcase:| Blockedby: Os: Unknown/Multiple |Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- There are several NOTE files in GHC source tree. e.g. new_tc_note, compiler/DLL-NOTE, complier/NOTE, compiler/Simon-log. But these files doesn't update long time except compiler/cmm/cmm-notes. I think these files have many old informations. How about remove these files except compiler/cmm/cmm-notes, if there aren't any important information anymore? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5660 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs