[LLVMdev] some undefined behaviors in llvm/clang

John Regehr regehr at cs.utah.edu
Fri Jul 30 11:38:13 PDT 2010

My student Peng Li has a hacked clang that emits checks for lots of bad 
integer behaviors.  The code still has rough edges but we'll contribute it 


On Wed, 28 Jul 2010, Duncan Sands wrote:

> Hi John,
>> Below is a short list of integer undefined behaviors executed by Clang
>> when compiling the LLVM test suite.  They seem pretty self explanatory,
>> but let me know if not, if you cannot reproduce any of them, or if it
>> would be better for me to file bugzillas on them.  This is on x64 Linux,
>> using r108984.
> how did you obtain this interesting info?
> Thanks,
> Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list