GHC | 1 Oct 2011 09:07
Favicon

Re: #4877: Template Haskell panic when splicing an infix expression with a non-variable middle bit

#4877: Template Haskell panic when splicing an infix expression with a non-
variable middle bit
---------------------------------+------------------------------------------
  Reporter:  benmachine          |          Owner:  simonpj         
      Type:  bug                 |         Status:  closed          
  Priority:  normal              |      Milestone:  7.2.1           
 Component:  Template Haskell    |        Version:  7.0.1           
Resolution:  fixed               |       Keywords:                  
  Testcase:                      |      Blockedby:                  
Difficulty:                      |             Os:  Unknown/Multiple
  Blocking:                      |   Architecture:  Unknown/Multiple
   Failure:  Compile-time crash  |  
---------------------------------+------------------------------------------

Comment(by NeilMitchell):

 The error message that was added was "Operator application with a non-
 variable operator" - I got that error message and was very confused (I
 resorted to reading the source code to figure out what it meant). I think
 it would be far clearer if it read "Infix application with a non-variable
 operator" - OpApp is an internal GHC detail which users of Template
 Haskell aren't aware of - they will have written InfixE.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4877#comment:5>
GHC | 1 Oct 2011 11:14
Favicon

Re: #5518: Some unicode symbols are not allow in literal characters or strings

#5518: Some unicode symbols are not allow in literal characters or strings
-------------------------------+--------------------------------------------
    Reporter:  ertai           |        Owner:              
        Type:  bug             |       Status:  infoneeded  
    Priority:  normal          |    Milestone:              
   Component:  Compiler        |      Version:  7.0.3       
    Keywords:                  |     Testcase:              
   Blockedby:                  |   Difficulty:              
          Os:  Linux           |     Blocking:              
Architecture:  x86_64 (amd64)  |      Failure:  None/Unknown
-------------------------------+--------------------------------------------

Comment(by ertai):

 Ok, thank you.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5518#comment:5>
GHC | 1 Oct 2011 14:44
Favicon

Re: #3008: Strange behavior when using newtyped version of IO monad in FFI import declarations

#3008: Strange behavior when using newtyped version of IO monad in FFI import
declarations
-------------------------------+--------------------------------------------
    Reporter:  waern           |        Owner:  igloo       
        Type:  bug             |       Status:  new         
    Priority:  normal          |    Milestone:  7.4.1       
   Component:  Compiler (FFI)  |      Version:  6.10.1      
    Keywords:  FFI             |     Testcase:              
   Blockedby:                  |   Difficulty:  Unknown     
          Os:  Linux           |     Blocking:              
Architecture:  x86_64 (amd64)  |      Failure:  None/Unknown
-------------------------------+--------------------------------------------

Comment(by igloo <at> …):

 commit 5b988961338f73af5790bfd365ca79c858249cea
 {{{
 Author: Ian Lynagh <igloo <at> earth.li>
 Date:   Fri Sep 30 21:57:53 2011 +0100

     Handle newtypes and type functions correctly in FFI types; fixes #3008

     You can now use type functions in FFI types.

     Newtypes are now only looked through if the constructor is in scope.

  compiler/deSugar/DsCCall.lhs     |    4 +-
  compiler/deSugar/DsForeign.lhs   |   82 +++++++++++---------
  compiler/deSugar/DsMeta.hs       |    2 +-
  compiler/hsSyn/Convert.lhs       |    4 +-
(Continue reading)

GHC | 1 Oct 2011 15:10
Favicon

Re: #3008: Strange behavior when using newtyped version of IO monad in FFI import declarations

#3008: Strange behavior when using newtyped version of IO monad in FFI import
declarations
-----------------------------+----------------------------------------------
  Reporter:  waern           |          Owner:  igloo         
      Type:  bug             |         Status:  closed        
  Priority:  normal          |      Milestone:  7.4.1         
 Component:  Compiler (FFI)  |        Version:  6.10.1        
Resolution:  fixed           |       Keywords:  FFI           
  Testcase:                  |      Blockedby:                
Difficulty:  Unknown         |             Os:  Linux         
  Blocking:                  |   Architecture:  x86_64 (amd64)
   Failure:  None/Unknown    |  
-----------------------------+----------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3008#comment:14>
GHC | 1 Oct 2011 15:13
Favicon

Re: #5430: System.Time.formatCalendarTime: %j starts at 0 whereas strftime's %j starts at 1

#5430: System.Time.formatCalendarTime: %j starts at 0 whereas strftime's %j starts
at 1
----------------------------------+-----------------------------------------
  Reporter:  guest                |          Owner:  igloo 
      Type:  bug                  |         Status:  closed
  Priority:  normal               |      Milestone:  7.4.1 
 Component:  libraries/haskell98  |        Version:  6.12.1
Resolution:  fixed                |       Keywords:        
  Testcase:                       |      Blockedby:        
Difficulty:                       |             Os:  Linux 
  Blocking:                       |   Architecture:  x86   
   Failure:  Documentation bug    |  
----------------------------------+-----------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => 7.4.1

Comment:

 Fixed by:
 {{{
 commit 3669ee6fd9cfbec4d8f3b5e5f8862b864f427b7f
 Author: Ian Lynagh <igloo <at> earth.li>
 Date:   Fri Sep 30 12:27:06 2011 +0100

     Make %j return values in the right range; fixes #5430

     Both "struct tm" and the CalendarTime type use 000-365, but %j
(Continue reading)

GHC | 1 Oct 2011 17:54
Favicon

Re: #5507: Template Haskell needs extra library dirs

#5507: Template Haskell needs extra library dirs
---------------------------------+------------------------------------------
  Reporter:  jwlato              |          Owner:  igloo                 
      Type:  bug                 |         Status:  closed                
  Priority:  normal              |      Milestone:  7.4.1                 
 Component:  Template Haskell    |        Version:  7.2.1                 
Resolution:  fixed               |       Keywords:  template haskell, link
  Testcase:                      |      Blockedby:                        
Difficulty:                      |             Os:  MacOS X               
  Blocking:                      |   Architecture:  x86_64 (amd64)        
   Failure:  Compile-time crash  |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => 7.4.1

Comment:

 Aha, on OS X I can reproduce this with 7.2 but not HEAD. So I think this
 is fixed, although I can't easily find the patch that fixed it.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5507#comment:3>
GHC | 1 Oct 2011 18:21
Favicon

Re: #4264: shared library bus error on OS X

#4264: shared library bus error on OS X
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:  igloo       
        Type:  bug               |       Status:  new         
    Priority:  high              |    Milestone:  7.4.1       
   Component:  Compiler          |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  MacOS X           |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by igloo):

 It was probably 32bit.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4264#comment:7>
GHC | 1 Oct 2011 21:21
Favicon

Re: #5237: Inefficient code generated for x^2

#5237: Inefficient code generated for x^2
--------------------------------------+-------------------------------------
  Reporter:  scpmw                    |          Owner:                
      Type:  bug                      |         Status:  new           
  Priority:  normal                   |      Milestone:  7.4.1         
 Component:  libraries/base           |        Version:  7.0.3         
Resolution:                           |       Keywords:                
  Testcase:                           |      Blockedby:                
Difficulty:                           |             Os:  Linux         
  Blocking:                           |   Architecture:  x86_64 (amd64)
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------

Comment(by daniel.is.fischer):

 Patch now with let-binding to ensure sharing of `x`.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5237#comment:12>
GHC | 1 Oct 2011 22:37
Favicon

Re: #5237: Inefficient code generated for x^2

#5237: Inefficient code generated for x^2
--------------------------------------+-------------------------------------
  Reporter:  scpmw                    |          Owner:                
      Type:  bug                      |         Status:  new           
  Priority:  normal                   |      Milestone:  7.4.1         
 Component:  libraries/base           |        Version:  7.0.3         
Resolution:                           |       Keywords:                
  Testcase:                           |      Blockedby:                
Difficulty:                           |             Os:  Linux         
  Blocking:                           |   Architecture:  x86_64 (amd64)
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------

Comment(by igloo):

 Is adding the more specific rules the right thing to do?

 Or would it make more sense for the optimiser to always choose rules over
 specialisations?

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5237#comment:13>
GHC | 1 Oct 2011 22:50
Favicon

Re: #5237: Inefficient code generated for x^2

#5237: Inefficient code generated for x^2
--------------------------------------+-------------------------------------
  Reporter:  scpmw                    |          Owner:                
      Type:  bug                      |         Status:  new           
  Priority:  normal                   |      Milestone:  7.4.1         
 Component:  libraries/base           |        Version:  7.0.3         
Resolution:                           |       Keywords:                
  Testcase:                           |      Blockedby:                
Difficulty:                           |             Os:  Linux         
  Blocking:                           |   Architecture:  x86_64 (amd64)
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------

Comment(by daniel.is.fischer):

 I think it would be better if the optimiser chose rules over
 specialisations. If that's easily enough done, great. Otherwise adding the
 more specific rules is the right thing.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5237#comment:14>

Gmane