r275143 - in /branches/gcc-7-branch/gcc: Change...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Aug 30 12:33:00 GMT 2019
Author: jakub
Date: Fri Aug 30 12:33:00 2019
New Revision: 275143
URL: https://gcc.gnu.org/viewcvs?rev=275143&root=gcc&view=rev
Log:
Backported from mainline
2019-03-28 Jakub Jelinek <jakub@redhat.com>
PR middle-end/89621
* tree-inline.h (struct copy_body_data): Add
dont_remap_vla_if_no_change flag.
* tree-inline.c (remap_type_3, remap_type_2): New functions.
(remap_type): Don't remap vla types if id->dont_remap_vla_if_no_change
and remap_type_2 returns false.
* omp-low.c (new_omp_context): Set ctx->cb.dont_remap_vla_if_no_change.
* gfortran.dg/gomp/pr89621.f90: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/gomp/pr89621.f90
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/omp-low.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/tree-inline.c
branches/gcc-7-branch/gcc/tree-inline.h
More information about the Gcc-cvs
mailing list