[GHC] #10664: T8131 times out on master

GHC ghc-devs at haskell.org
Mon Aug 3 13:21:07 UTC 2015


#10664: T8131 times out on master
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by bgamari):

 The issue appears to be triggered by the fourth argument of the `%memcpy`
 call being non-constant,
 {{{
 // This fails
 testMemcpy (W_ dst, W_ src, W_ l, W_ sz) {
   prim %memcpy(dst, src, l, sz);
   return ();
 }

 // This also fails
 testMemcpy (W_ dst, W_ src, W_ l, W_ sz) {
   W_ a;
   a = 0;
   prim %memcpy(dst, src, l, a);
   return ();
 }

 // But this succeeds
 testMemcpy (W_ dst, W_ src, W_ l, W_ sz) {
   prim %memcpy(dst, src, l, 0);
   return ();
 }
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10664#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list