Author: baldrick Date: Mon Aug 27 11:47:32 2007 New Revision: 41494 URL: http://llvm.org/viewvc/llvm-project?rev=41494&view=rev Log: Fix this test: llvm-gcc-4.2 optimizes almost everything away, resulting in zero matches, while llvm-gcc-4.1 manages to remove one pointless selector changing the number of matches.
Modified: llvm/trunk/test/C++Frontend/2007-07-04-NestedCatches.cpp Modified: llvm/trunk/test/C++Frontend/2007-07-04-NestedCatches.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2007-07-04-NestedCatches.cpp?rev=41494&r1=41493&r2=41494&view=diff ============================================================================== --- llvm/trunk/test/C++Frontend/2007-07-04-NestedCatches.cpp (original) +++ llvm/trunk/test/C++Frontend/2007-07-04-NestedCatches.cpp Mon Aug 27 11:47:32 2007 @@ -1,6 +1,6 @@ -// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | \ +// RUN: %llvmgxx %s -S -O2 -o - | \ // RUN: ignore grep {eh\.selector.*One.*Two.*Three.*Four.*Five.*Six.*null} | \ -// RUN: wc -l | grep {\[02\]} +// RUN: wc -l | grep {\[01\]} extern void X(void); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits