r125917 - in /trunk: gcc/ChangeLog gcc/gimplify...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Thu Jun 21 12:11:00 GMT 2007
Author: jakub
Date: Thu Jun 21 12:11:00 2007
New Revision: 125917
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125917
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:
trunk/libgomp/testsuite/libgomp.c/pr32362-1.c
trunk/libgomp/testsuite/libgomp.c/pr32362-2.c
trunk/libgomp/testsuite/libgomp.c/pr32362-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/omp-low.c
trunk/libgomp/ChangeLog
More information about the Gcc-cvs
mailing list