# HG changeset patch # User one # Date 1472119752 -32400 # Node ID cc378dc4592620aa306773c0e75c18bec20135b0 # Parent facf19d07cd921abd352e8cac463c2e0ce919245 suppress tailcall error mesage diff -r facf19d07cd9 -r cc378dc45926 lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Wed Aug 24 20:10:41 2016 +0900 +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Thu Aug 25 19:09:12 2016 +0900 @@ -5412,8 +5412,8 @@ // Target-dependent constraints are checked within TLI->LowerCallTo. if (isTailCall && !isInTailCallPosition(CS, DAG.getTarget())) { #ifndef noCbC - errs() << CS.getCaller()->getName() + " : Tail call elimination was failed on goto "; - errs() << "warning: not unreachable instruction in a tail call.\n "; + // errs() << CS.getCaller()->getName() + " : Tail call elimination was failed on goto "; + // errs() << "warning: not unreachable instruction in a tail call.\n "; #endif isTailCall = false; }