https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69555

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar  2 19:16:14 2016
New Revision: 233913

URL: https://gcc.gnu.org/viewcvs?rev=233913&root=gcc&view=rev
Log:
        PR libgomp/69555
        * gimplify.c (gimplify_decl_expr): For decls with REFERENCE_TYPE, also
        gimplify_type_sizes the type they refer to.
        (omp_notice_variable): Handle reference vars to VLAs.
        * omp-low.c (lower_omp_target): Emit setup of OMP_CLAUSE_PRIVATE
reference
        to VLA decls in the second pass instead of first pass.

        * testsuite/libgomp.c++/pr69555-1.C: New test.
        * testsuite/libgomp.c++/pr69555-2.C: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c++/pr69555-1.C
    trunk/libgomp/testsuite/libgomp.c++/pr69555-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog

Reply via email to