Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    ca2b1311
    gimplify.c (omp_is_private): Don't return true if decl is not already private... · ca2b1311
    Jakub Jelinek authored
    gimplify.c (omp_is_private): Don't return true if decl is not already private on #pragma omp for or #pragma...
    
    	* gimplify.c (omp_is_private): Don't return true if decl
    	is not already private on #pragma omp for or #pragma omp parallel for.
    
    	* gcc.dg/gomp/pr27388-3.c: Adjust dg-final.
    
    	* testsuite/libgomp.c/loop-10.c: New test.
    	* libgomp.c/loop-3.c (main): Add lastprivate clause.
    	* libgomp.c++/loop-6.C (main): Likewise.
    
    From-SVN: r137199
    ca2b1311
    History
    gimplify.c (omp_is_private): Don't return true if decl is not already private...
    Jakub Jelinek authored
    gimplify.c (omp_is_private): Don't return true if decl is not already private on #pragma omp for or #pragma...
    
    	* gimplify.c (omp_is_private): Don't return true if decl
    	is not already private on #pragma omp for or #pragma omp parallel for.
    
    	* gcc.dg/gomp/pr27388-3.c: Adjust dg-final.
    
    	* testsuite/libgomp.c/loop-10.c: New test.
    	* libgomp.c/loop-3.c (main): Add lastprivate clause.
    	* libgomp.c++/loop-6.C (main): Likewise.
    
    From-SVN: r137199