refactor test for __builtin_unreachable into Rts.h macro RTS_UNREACHABLE
authorKarel Gardas <karel.gardas@centrum.cz>
Mon, 15 Aug 2016 20:26:04 +0000 (22:26 +0200)
committerKarel Gardas <karel.gardas@centrum.cz>
Mon, 15 Aug 2016 20:26:04 +0000 (22:26 +0200)
commit3551e622ab3a833589a069b473a4dfb3f171e5b8
tree8726112b8021dd3cf083dddc9d4d89afd785ff61
parentfc1432aa57b01c1e3b936dcee0eb419a8c2bb2c8
refactor test for __builtin_unreachable into Rts.h macro RTS_UNREACHABLE

Summary:
This patch refactors GNU C version test (for 4.5 and more modern)
due to usage of __builtin_unreachable done in the CNF.c code directly
into the new RTS_UNREACHABLE macro placed into Rts.h

Reviewers: bgamari, austin, simonmar, erikd

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2457
includes/Rts.h
rts/sm/CNF.c