/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 In file included from /Volumes/mrs5/net/llvm/llvm/llvm/lib/Target/ CellSPU/SPUISelDAGToDAG.cpp:312: /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function 'llvm::SDOperand SPUDAGToDAGISel::Transform_LO16_f32(llvm::SDNode*)': /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/SPUGenDAGISel.inc: 225: warning: dereferencing type-punned pointer will break strict- aliasing rules /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function 'llvm::SDOperand SPUDAGToDAGISel::Transform_HI16_f32(llvm::SDNode*)': /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/SPUGenDAGISel.inc: 266: warning: dereferencing type-punned pointer will break strict- aliasing rules /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function 'llvm::SDOperand SPUDAGToDAGISel::Transform_FPimm_u18(llvm::SDNode*)': /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/SPUGenDAGISel.inc: 281: warning: dereferencing type-punned pointer will break strict- aliasing rules /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function 'llvm::SDOperand SPUDAGToDAGISel::Transform_FPimm_sext16(llvm::SDNode*)': /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/SPUGenDAGISel.inc: 290: warning: dereferencing type-punned pointer will break strict- aliasing rules /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function 'bool SPUDAGToDAGISel::Predicate_fpimm18(llvm::SDNode*)': /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/SPUGenDAGISel.inc: 356: warning: dereferencing type-punned pointer will break strict- aliasing rules /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/ SPUGenDAGISel.inc: In member function 'bool SPUDAGToDAGISel::Predicate_hi16_f32(llvm::SDNode*)': /Volumes/mrs5/net/llvm/llvm/build/lib/Target/CellSPU/SPUGenDAGISel.inc: 389: warning: dereferencing type-punned pointer will break strict- aliasing rules :-)
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 rulesThis should fix it, please verify: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071210/056377.html -Chris