diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-05-22 20:54:05 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-05-22 20:54:05 +0200 |
commit | e9e2ef9f2f1e037e0f3bc4990947e242106e43b9 (patch) | |
tree | 7824d1e6f2475b21c05bfc71e55b7adcb45da4f7 /gcc/omp-low.c | |
parent | c24783c49924474f54feb0c6038cba4719125634 (diff) | |
download | gcc-e9e2ef9f2f1e037e0f3bc4990947e242106e43b9.zip gcc-e9e2ef9f2f1e037e0f3bc4990947e242106e43b9.tar.gz gcc-e9e2ef9f2f1e037e0f3bc4990947e242106e43b9.tar.bz2 |
re PR middle-end/80809 (Multi-free error for variable size array used within OpenMP task)
PR middle-end/80809
* gimplify.c (omp_add_variable): For GOVD_DEBUG_PRIVATE use
GOVD_SHARED rather than GOVD_PRIVATE with it.
(gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Expect
GOVD_SHARED rather than GOVD_PRIVATE with GOVD_DEBUG_PRIVATE.
* testsuite/libgomp.c/pr80809-1.c: New test.
From-SVN: r248345
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions