Evac.c

Simon Peyton Jones simonpj at microsoft.com
Thu Jun 11 11:19:03 UTC 2020


I'm getting this in HEAD.  Should I worry?  It says "error"!
Simon



rts/sm/Evac.c:463:5: error:

     note: called from here

         ACQUIRE_SPIN_LOCK(&gen->sync);

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    |

463 |     ACQUIRE_SPIN_LOCK(&gen->sync);

    |     ^



In file included from includes/Rts.h:196:0: error:

    0,

                     from rts/sm/Evac.c:15:



includes/rts/SpinLock.h:43:20: error:

     warning: inlining failed in call to 'ACQUIRE_SPIN_LOCK': call is unlikely and code size would grow [-Winline]

     INLINE_HEADER void ACQUIRE_SPIN_LOCK(SpinLock * p)

                        ^~~~~~~~~~~~~~~~~

   |

43 | INLINE_HEADER void ACQUIRE_SPIN_LOCK(SpinLock * p)

   |                    ^



rts/sm/Evac.c:515:31: error:

     note: called from here

             if (new_gen != gen) { ACQUIRE_SPIN_LOCK(&new_gen->sync); }

                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    |

515 |         if (new_gen != gen) { ACQUIRE_SPIN_LOCK(&new_gen->sync); }

    |                               ^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20200611/bc2461ff/attachment.html>


More information about the ghc-devs mailing list