search for: borderconstraint

Displaying 1 result from an estimated 1 matches for "borderconstraint".

2011 Jan 20
0
[LLVMdev] Warnings when compiling llvm+clang (Mac OS X system gcc)
...aint::Exit’ is used uninitialized in this function ---------------------------- ^^ The error repeats several times. It seems the error occurs when push_back copies the received object, which is a struct: struct BlockConstraint { unsigned Number; ///< Basic block number (from MBB::getNumber()). BorderConstraint Entry : 8; ///< Constraint on block entry. BorderConstraint Exit : 8; ///< Constraint on block exit. }; Where only the Number member is initialized. Couldn't we initialize the other members to invalid values? In clang, the warning is: ---------------------------- makellvm[0]: Compi...