[LLVMdev] strict aliasing in SPU land
Chris Lattner
sabre at nondot.org
Sun Dec 16 12:41:59 PST 2007
On Dec 14, 2007, at 11:37 PM, Mike Stump wrote:
> /Volumes/mrs5/net/llvm/llvm/llvm/lib/Target/CellSPU/
> SPUISelDAGToDAG.cpp: In function
> 'bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*, short
> int&)':
> /Volumes/mrs5/net/llvm/llvm/llvm/lib/Target/CellSPU/
> SPUISelDAGToDAG.cpp:141: warning: dereferencing type-punned pointer
> will break strict-aliasing rules
This should fix it, please verify:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071210/056377.html
-Chris
More information about the llvm-dev
mailing list