[llvm-bugs] [Bug 15834] clang crashes on i386 when doing operations on uint128_t
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 15 22:47:54 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=15834
Eric Christopher <echristo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Eric Christopher <echristo at gmail.com> ---
Appears fixed:
echristo-macbookpro2:~/tmp> cat > foo.c
#include <stdint.h>
typedef unsigned uint128_t __attribute__((mode(TI)));
int main() {
uint64_t a = ((uint64_t)2000000000) * 1000000000;
uint64_t b = ((uint64_t)1234567890) << 24;
uint128_t c = ((uint128_t)a) * b;
return 0;
}
echristo-macbookpro2:~/tmp> clang foo.c
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151016/fb54aa58/attachment-0001.html>
More information about the llvm-bugs
mailing list