------- Comment #3 from jakub at gcc dot gnu dot org  2007-06-21 12:16 -------
Subject: Bug 32362

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32362

Reply via email to