Don't error on GCC inlining warning in rts
authorBartosz Nitka <niteria@gmail.com>
Wed, 22 Jun 2016 13:22:45 +0000 (06:22 -0700)
committerBartosz Nitka <niteria@gmail.com>
Wed, 22 Jun 2016 13:22:59 +0000 (06:22 -0700)
commit93f40cb9b93b0308b211eaf4ad8f2fee6cb1b5aa
treecb029f2473143e0bbdd53ca90925595db6343559
parent619958832cbe11096cae3dac9a0a7a5591163a00
Don't error on GCC inlining warning in rts

The warning for reference:
```
rts/RaiseAsync.c: In function ‘throwToMsg’:

rts/SMPClosureOps.h:65:0: error:
     error: inlining failed in call to ‘lockClosure’: call is unlikely
and code size would grow

rts/RaiseAsync.c:305:0: error:  error: called from here

rts/SMPClosureOps.h:65:0: error:
     error: inlining failed in call to ‘lockClosure’: call is unlikely
and code size would grow
```

This warning triggers on `gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)`
and it doesn't trigger with new GCCs.

Test Plan: build ghc/rts

Reviewers: bgamari, simonmar, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2353
mk/warnings.mk