https://bugs.llvm.org/show_bug.cgi?id=32282

Davide Italiano <dav...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #8 from Davide Italiano <dav...@freebsd.org> ---
(In reply to Dmitry Babokin from comment #7)
> clang rev308350, the fail is still there.
> 
> > cat f.cpp
> int a;
> long b;
> struct {
>   char c : 29;
> } d;
> void e() {
>   d.c = ~0 + 483647 & (a < 0) + 2147483647 >> (b << ~0 + 24) + 8388639;
> }
> 
> > clang++  -std=c++11 -w -O3 -march=skx -o f.o -c f.cpp
> clang-5.0:
> /home/dybaboki/llvm/llvm-trunk-20170718/include/llvm/ADT/APInt.h:1399: void
> llvm::APInt::setBits(unsigned int, unsigned int): Assertion `loBit <=
> BitWidth && "loBit out of range"' failed.
> <...>

This is definitely a different testcase, reopening and reducing now :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to