This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125918 - in /branches/gcc-4_2-branch: gcc/Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 21 Jun 2007 12:15:53 -0000
- Subject: r125918 - in /branches/gcc-4_2-branch: gcc/Chan...
Author: jakub
Date: Thu Jun 21 12:15:53 2007
New Revision: 125918
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125918
Log:
PR middle-end/32362
* omp-low.c (lookup_decl_in_outer_ctx): Don't ICE if t is NULL,
but decl is a global var, instead return decl.
* gimplify.c (gimplify_adjust_omp_clauses_1): Add shared clauses
even for is_global_var decls, if they are private in some outer
context.
* testsuite/libgomp.c/pr32362-1.c: New test.
* testsuite/libgomp.c/pr32362-2.c: New test.
* testsuite/libgomp.c/pr32362-3.c: New test.
Added:
branches/gcc-4_2-branch/libgomp/testsuite/libgomp.c/pr32362-1.c
branches/gcc-4_2-branch/libgomp/testsuite/libgomp.c/pr32362-2.c
branches/gcc-4_2-branch/libgomp/testsuite/libgomp.c/pr32362-3.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/gimplify.c
branches/gcc-4_2-branch/gcc/omp-low.c
branches/gcc-4_2-branch/libgomp/ChangeLog