[LLVMdev] new warnings in r58273
David Greene
dag at cray.com
Mon Oct 27 15:19:49 PDT 2008
On Monday 27 October 2008 17:06, Mike Stump wrote:
> llvm/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp: In member
> function ‘void llvm::SelectionDAG::setSubgraphColor(llvm::SDNode*,
> const char*)’:
> llvm/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp:372:
> warning: comparison with string literal results in unspecified behavior
> llvm/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp:375:
> warning: comparison with string literal results in unspecified behavior
>
> from:
>
> if (Color == "red" ) {
> setSubgraphColorHelper(N, "blue", visited, 0, printed);
> }
> else if (Color == "yellow" ) {
Will fix.
-Dave
More information about the llvm-dev
mailing list