Warnings in RTS
Simon Peyton Jones
simon.peytonjones at gmail.com
Mon Sep 26 08:31:26 UTC 2022
Whenever I compile the RTS I get these warnings. Are they necessary?
Simon
In file included from rts/Schedule.c:16:0: error:
rts/Schedule.c: In function ‘schedule’:
rts/Schedule.h:143:1: error:
warning: inlining failed in call to ‘appendToRunQueue’: call is
unlikely and code size would grow [-Winline]
143 | appendToRunQueue (Capability *cap, StgTSO *tso)
| ^~~~~~~~~~~~~~~~
|
143 | appendToRunQueue (Capability *cap, StgTSO *tso)
| ^
rts/Schedule.c:1226:9: error:
note: called from here
1226 | appendToRunQueue(cap,t);
| ^~~~~~~~~~~~~~~~~~~~~~~
|
1226 | appendToRunQueue(cap,t);
| ^
In file included from rts/Schedule.c:16:0: error:
rts/Schedule.h:164:1: error:
warning: inlining failed in call to ‘pushOnRunQueue’: call is unlikely
and code size would grow [-Winline]
164 | pushOnRunQueue (Capability *cap, StgTSO *tso)
| ^~~~~~~~~~~~~~
|
164 | pushOnRunQueue (Capability *cap, StgTSO *tso)
| ^
rts/Schedule.c:1228:9: error:
note: called from here
1228 | pushOnRunQueue(cap,t);
| ^~~~~~~~~~~~~~~~~~~~~
|
1228 | pushOnRunQueue(cap,t);
| ^
rts/Schedule.c: At top level:
cc1: warning: unrecognized command line option
‘-Wno-nonportable-include-path’
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20220926/79e49a9b/attachment.html>
More information about the ghc-devs
mailing list