[llvm-commits] [llvm] r45890 - /llvm/trunk/test/C++Frontend/2008-01-11-BadWarning.cpp

Tanya Lattner lattner at apple.com
Fri Jan 11 17:11:38 PST 2008


It XPASSes with llvm-gcc4.0. I don't think xfail is what you want.  I  
don't think there is a way to specify a test for pass/fail for a  
specific version of llvm-gcc. I think this was on my todo list awhile  
back. File a bug.

-Tanya


On Jan 11, 2008, at 3:06 PM, Chris Lattner wrote:

> Author: lattner
> Date: Fri Jan 11 17:06:56 2008
> New Revision: 45890
>
> URL: http://llvm.org/viewvc/llvm-project?rev=45890&view=rev
> Log:
> llvm-g++ 4.0 has completely different code for this warning,
> just xfail it.
>
> Modified:
>     llvm/trunk/test/C++Frontend/2008-01-11-BadWarning.cpp
>
> Modified: llvm/trunk/test/C++Frontend/2008-01-11-BadWarning.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B% 
> 2BFrontend/2008-01-11-BadWarning.cpp? 
> rev=45890&r1=45889&r2=45890&view=diff
>
> ====================================================================== 
> ========
> --- llvm/trunk/test/C++Frontend/2008-01-11-BadWarning.cpp (original)
> +++ llvm/trunk/test/C++Frontend/2008-01-11-BadWarning.cpp Fri Jan  
> 11 17:06:56 2008
> @@ -1,5 +1,6 @@
>  // RUN: %llvmgcc -xc++ %s -S -o /dev/null |& not grep warning
>  // rdar://5683899
> +// XFAIL: llvmgcc4.0.1
>  void** f(void **Buckets, unsigned NumBuckets) {
>    return Buckets + NumBuckets;
>  }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list