[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Compiler Compiler.cpp, 1.15, 1.16
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2007-09-16 18:50:49
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv21246 Modified Files: Compiler.cpp Log Message: Option analyzis messages has been revisited (1 is returned on success). Index: Compiler.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Compiler.cpp 17 May 2007 14:31:12 -0000 1.15 --- Compiler.cpp 16 Sep 2007 18:50:46 -0000 1.16 *************** *** 227,230 **** --- 227,231 ---- int times = 0; int lastOk = 0; + int timesOk = 0; std::string tmp; std::string ck; *************** *** 247,254 **** r+=" (not supported)\n"; lastOk=1; } else { tmp=D->Use(); lastOk=(tmp=="1"); ! if (D->CompilationTwoPassNeeded()) { if (D->CompilationPass()==1) { --- 248,256 ---- r+=" (not supported)\n"; lastOk=1; + timesOk++; } else { tmp=D->Use(); lastOk=(tmp=="1"); ! timesOk+=lastOk; if (D->CompilationTwoPassNeeded()) { if (D->CompilationPass()==1) { *************** *** 300,304 **** colDestroy(); ! if (!times) r="1\n"; --- 302,306 ---- colDestroy(); ! if (timesOk==times) r="1\n"; |