add support for __int128
commit62cab21fe13b7f9ac2008eae54bebfd45bb7e75a
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Fri, 9 Dec 2016 23:03:11 +0000 (10 00:03 +0100)
committerChristopher Li <sparse@chrisli.org>
Mon, 13 Feb 2017 01:34:44 +0000 (13 09:34 +0800)
treeef8fbaac71a404d38b365e73706e128ab852d4c2
parent45bf23a2fee2d14d708ec35e5579219d65f65f6c
add support for __int128

There is already support for __int128_t & __uint128_t but not yet
for GCC's __int128.

This patch add support for it and a couple of test cases.

Note: it's slightly more tricky that it look because contrary to
'__int128_t', '__int128' is not an exact type (it can still receive
the 'unsigned' or 'signed' specifier).

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
parse.c
validation/int128.c [new file with mode: 0644]