re PR middle-end/80809 (Multi-free error for variable size array used within OpenMP task)
PR middle-end/80809 * omp-low.c (finish_taskreg_remap): New function. (finish_taskreg_scan): If unit size of ctx->record_type is non-constant, unshare the size expression and replace decls in it with possible outer var refs. * testsuite/libgomp.c/pr80809-2.c: New test. * testsuite/libgomp.c/pr80809-3.c: New test. From-SVN: r248346
Showing
libgomp/testsuite/libgomp.c/pr80809-2.c
0 → 100644
libgomp/testsuite/libgomp.c/pr80809-3.c
0 → 100644
Please
register
or
sign in
to comment