[Bug c++/81130] [6/7/8 Regression] ICE OpenMP shared clause in gimplify_var_or_parm_decl, at gimplify.c:2584

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 21 22:22:00 GMT 2017


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jun 21 22:19:38 2017
New Revision: 249482

URL: https://gcc.gnu.org/viewcvs?rev=249482&root=gcc&view=rev
Log:
        PR c++/81130
        * gimplify.c (omp_add_variable): Don't force GOVD_SEEN for types
        with ctors/dtors if GOVD_SHARED is set.

        * testsuite/libgomp.c++/pr81130.C: New test.

Added:
    branches/gcc-7-branch/libgomp/testsuite/libgomp.c++/pr81130.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gimplify.c
    branches/gcc-7-branch/libgomp/ChangeLog


More information about the Gcc-bugs mailing list