This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249506 - in /branches/gcc-6-branch: gcc/Change...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 22 Jun 2017 11:09:08 -0000
- Subject: r249506 - in /branches/gcc-6-branch: gcc/Change...
Author: jakub
Date: Thu Jun 22 11:09:08 2017
New Revision: 249506
URL: https://gcc.gnu.org/viewcvs?rev=249506&root=gcc&view=rev
Log:
Backported from mainline
2017-05-22 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr80809-2.c
branches/gcc-6-branch/libgomp/testsuite/libgomp.c/pr80809-3.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/omp-low.c
branches/gcc-6-branch/libgomp/ChangeLog