kerneis / cpc

Continuation Passing C
http://www.pps.univ-paris-diderot.fr/~kerneis/software/cpc
Other
112 stars 13 forks source link

GCC builtin __builtin_unreachable needs including in CIL builtin functions #11

Closed ctshepherd closed 11 years ago

ctshepherd commented 11 years ago

CC x86_64-softmmu/target-i386/translate.o /home/cs648/qemu/tcg/tcg-op.h:2165: Warning: Calling function __builtin_unreachable without prototype.

I'm not sure if it's worth including the semantics of __builtin_unreachable(), but it should be added to the builtin function list at the least.

kerneis commented 11 years ago

Fixed in CIL https://github.com/kerneis/cil/commit/607e5b5a28d7166240fb2f0a9ede17817edbe802 and cherry-picked in CPC. Thanks.