r194072 - Fix a test that was never being run, mark it XFAIL

Alp Toker alp at nuanti.com
Tue Nov 5 04:58:57 PST 2013


Hello Alexey,

I've been validating the LLVM/clang test suite and noticed that this
test was never working.

When fixed, it crashes. I've disabled it in SVN, could you investigate?

Thanks,
Alp.

On 05/11/2013 12:45, Alp Toker wrote:
> Author: alp
> Date: Tue Nov  5 06:45:46 2013
> New Revision: 194072
>
> URL: http://llvm.org/viewvc/llvm-project?rev=194072&view=rev
> Log:
> Fix a test that was never being run, mark it XFAIL
>
> Turns out this has always been crashing since the test landed in
> r186647:
>
>   Assertion failed: (Access != AS_none && "Access specifier is AS_none inside a record decl"), function CheckAccessDeclContext, file clang/lib/AST/DeclBase.cpp, line 690.
>
> Needs attention.
>
> Modified:
>     cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp
>
> Modified: cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp?rev=194072&r1=194071&r2=194072&view=diff
> ==============================================================================
> --- cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp (original)
> +++ cfe/trunk/test/OpenMP/threadprivate_ast_print.cpp Tue Nov  5 06:45:46 2013
> @@ -1,7 +1,9 @@
>  // RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s
> -// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t
> +// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t %s
>  // RUN: %clang_cc1 -fopenmp -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print
>  // expected-no-diagnostics
> +// FIXME: This test has been crashing since r186647.
> +// XFAIL: *
>  
>  #ifndef HEADER
>  #define HEADER
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-- 
http://www.nuanti.com
the browser experts




More information about the cfe-commits mailing list